Skip to content

Instantly share code, notes, and snippets.

@christiannagel
Created April 5, 2013 15:35
Show Gist options
  • Save christiannagel/5320251 to your computer and use it in GitHub Desktop.
Save christiannagel/5320251 to your computer and use it in GitHub Desktop.
C++11 lambda no return no parameter
auto l1 = [] {
std::cout << "hello, lambda" << std::endl;
};
l1();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment