fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <unordered_map>
  4. #include <memory>
  5.  
  6. struct sqlstmt {};
  7.  
  8. int main() {
  9. std::unordered_map<std::string, std::shared_ptr<sqlstmt> > abc;
  10. abc["query"] = std::make_shared<sqlstmt>();
  11. return 0;
  12. }
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
Standard output is empty