Skip to content

Instantly share code, notes, and snippets.

@njlr
Last active August 19, 2016 11:08
Show Gist options
  • Save njlr/b13f682d1237eb69ebdc60728bb52598 to your computer and use it in GitHub Desktop.
Save njlr/b13f682d1237eb69ebdc60728bb52598 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <string>
int main() {
auto f = []() {
return 17;
};
std::cout << f() << std::endl;
std::cout << &f << std::endl;
std::cout << sizeof(f) << std::endl;
return 0;
}
auto result = main();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment