fork download
  1. class singleton
  2. {
  3. protected:
  4. singleton() = default;
  5. ~singleton() = default;
  6. };
  7.  
  8. int main(int argc, char* argv[])
  9. {
  10. singleton default_constructed;
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty