fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <unordered_map>
  4. #include <memory> // shared_ptr
  5.  
  6. class Table {
  7. private:
  8. std::unordered_map<std::string, std::shared_ptr<Table> > t;
  9. };
  10.  
  11. int main() {
  12. Table t;
  13. return 0;
  14. }
Success #stdin #stdout 0s 3452KB
stdin
Standard input is empty
stdout
Standard output is empty