File: Function-lambda.cxx

package info (click to toggle)
castxml 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,304 kB
  • sloc: cpp: 5,453; ansic: 354; sh: 85; makefile: 18
file content (10 lines) | stat: -rw-r--r-- 111 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
template <typename F>
F start(F f)
{
  return f;
}

void instantiate_start_with_lambda()
{
  start([]() {});
}