fork(4) download
  1. #include <string>
  2. #include <array>
  3.  
  4. struct Settings{
  5. const std::string name;
  6. const std::array<std::string, 3> A;
  7. const size_t a;
  8. };
  9.  
  10. class X {
  11. static const Settings s;
  12. };
  13.  
  14. const Settings X::s = {"MyName", {{"one","two","three"}}, 3};
  15.  
  16. int main() { }
  17.  
Success #stdin #stdout 0s 2980KB
stdin
Standard input is empty
stdout
Standard output is empty