Guest User

Untitled

a guest
Jul 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. std::map< int, std::set<int> > wtf;
  2. std::set< int > a = wtf[24];
  3. printf("%d\n", a.find(5) != a.end());
  4. a.insert(5);
  5. printf("%d\n", a.find(5) != a.end());
  6. std::set< int > b = wtf[24];
  7. printf("%d\n", b.find(5) != b.end());
  8.  
  9. 0
  10. 1
  11. 0
Add Comment
Please, Sign In to add comment