Skip to content
  1. Jul 20, 2012
  2. Jul 19, 2012
  3. Jul 16, 2012
  4. Jul 13, 2012
  5. Jul 12, 2012
  6. Jul 11, 2012
  7. Jul 09, 2012
  8. Jul 07, 2012
  9. Jul 06, 2012
  10. Jun 28, 2012
  11. Jun 26, 2012
  12. Jun 09, 2012
  13. Jun 08, 2012
  14. Jun 01, 2012
  15. May 31, 2012
  16. May 26, 2012
    • Howard Hinnant's avatar
      The rules for emplace in map, multimap, unordered_map and unordered_multimap... · 8b805c91
      Howard Hinnant authored
      The rules for emplace in map, multimap, unordered_map and unordered_multimap changed a while back and I'm just now updating to these new rules.  In a nutshell, you've got to know you're emplacing to a pair and use one of pair's constructors.  I made one extension:  If you want to emplace the key and default construct the mapped_type, you can just emplace(key), as opposed to emplace(piecewise_construct, forward_as_tuple(key), forward_as_tuple()).
      
      llvm-svn: 157503
      8b805c91
  17. May 25, 2012
  18. May 20, 2012
  19. May 19, 2012
Loading