fork(30) download
  1. #include <iostream>
  2.  
  3. struct X{
  4. void f(){
  5. []{ std::cout << __PRETTY_FUNCTION__ << "\n"; }();
  6. }
  7. };
  8.  
  9. int main(){
  10. X().f();
  11. }
  12.  
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
X::f()::<lambda()>