fork download
  1. #include <iostream>
  2. #include <typeinfo>
  3. using namespace std;
  4.  
  5. int main() {
  6. cout << typeid([]() { return 1; }).name() << endl;
  7. cout << typeid([]() { return 2; }).name() << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
Z4mainEUlvE_
Z4mainEUlvE0_