File: Function-lambda.cxx

package info (click to toggle)
castxml 0.1%2Bgit20180702-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,268 kB
  • sloc: cpp: 4,298; ansic: 267; sh: 85; makefile: 13
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([]() {});
}