File: Function-lambda.cxx

package info (click to toggle)
castxml 0.6.13-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,224 kB
  • sloc: cpp: 5,192; ansic: 352; 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([]() {});
}