[PATCH] Part 1 of N4279 - "Improved insertion interface for unique-key maps"

Marshall Clow mclow.lists at gmail.com
Tue Jun 23 13:49:13 PDT 2015


Hi EricWF,

N4279 added `try_emplace` and `insert_or_assign` to `std::map` and `std::unordered_map`. 
This patch implements the changes to `map`.

http://reviews.llvm.org/D10669

Files:
  include/map
  test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp
  test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10669.28282.patch
Type: text/x-patch
Size: 16645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150623/11c75c15/attachment.bin>


More information about the cfe-commits mailing list