fork download
  1. #include <map>
  2. #include <string>
  3. #include <iostream>
  4.  
  5. struct abs {};
  6.  
  7. std::ostream& operator<<(std::ostream& os, abs* ab)
  8. {
  9. std::cout << 12345 << std::endl;
  10. }
  11.  
  12. int main() {
  13. std::map<std::string,abs*> _map;
  14. std::cout << _map["key"] << std::endl;
  15. }
  16.  
Success #stdin #stdout 0.01s 2860KB
stdin
Standard input is empty
stdout
12345