Howard Hinnant
|
8b805c915a
|
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
|
2012-05-25 22:04:21 +00:00 |
Howard Hinnant
|
e4b11156d7
|
Corrected tests for http://llvm.org/bugs/show_bug.cgi?id=9351
llvm-svn: 128807
|
2011-04-04 01:42:30 +00:00 |
Howard Hinnant
|
e4bafbee25
|
... And these wonderful tests.
llvm-svn: 128797
|
2011-04-03 20:06:31 +00:00 |