Skip to content

Instantly share code, notes, and snippets.

@lshort
Created May 25, 2014 06:46
Show Gist options
  • Save lshort/ad9aff9323c8209e88f1 to your computer and use it in GitHub Desktop.
Save lshort/ad9aff9323c8209e88f1 to your computer and use it in GitHub Desktop.
auto lambda_plus = [] (auto x, auto y) { return x+y; };
int z = lambda_plus(5,3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment