fork download
  1. #include <iostream>
  2. #include <functional>
  3. using namespace std;
  4.  
  5. int main() {
  6. function<string()> blah = [](){return "123";};
  7.  
  8. cout << blah();
  9.  
  10. // your code goes here
  11. return 0;
  12. }
Success #stdin #stdout 0s 3228KB
stdin
Standard input is empty
stdout
123