Last active
August 19, 2016 11:08
-
-
Save njlr/b13f682d1237eb69ebdc60728bb52598 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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