//g++ -std=c++11 autolambda.cpp #include int main() { auto func = [] () { std::cout << "Hello world\n"; }; func(); }