fork download
  1. #include <map>
  2.  
  3. struct Foo
  4. {
  5. constexpr static int foo = 1;
  6. };
  7.  
  8. static std::map<int, int> map {{1, Foo::foo}};
  9.  
  10. int main()
  11. {
  12. return Foo::foo;
  13. }
Runtime error #stdin #stdout 0s 3424KB
stdin
Standard input is empty
stdout
Standard output is empty