You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Howard Hinnant
635ce1d127
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()).
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@157503 91177308-0d34-0410-b5e6-96231b3b80d8
|
14 years ago |
| .. |
|
map
|
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()).
|
14 years ago |
|
multimap
|
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()).
|
14 years ago |
|
multiset
|
Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574
|
14 years ago |
|
set
|
Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574
|
14 years ago |
|
tree_balance_after_insert.pass.cpp
|
license change
|
15 years ago |
|
tree_left_rotate.pass.cpp
|
license change
|
15 years ago |
|
tree_remove.pass.cpp
|
license change
|
15 years ago |
|
tree_right_rotate.pass.cpp
|
license change
|
15 years ago |