Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. std::map<std::string, std::string> props;
  2. std::string value("1");
  3. std::string key("type");
  4. props.insert(std::pair<std::string, std::string>(key, value));
  5.  
  6. /** There is also a templated copy ctor for the @c pair class itself. */
  7. template<class _U1, class _U2>
  8. pair(const pair<_U1, _U2>& __p)
  9. : first(__p.first), second(__p.second) { }
  10. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement