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 |
| .. |
|
multimap.cons
|
Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574
|
14 years ago |
|
multimap.modifiers
|
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.ops
|
license change
|
15 years ago |
|
multimap.special
|
noexcept for <set>. Plus a few fixes to noexcept for <map>.
|
15 years ago |
|
empty.pass.cpp
|
license change
|
15 years ago |
|
iterator.pass.cpp
|
Bug 9096 - list::iterator not default constructible
|
15 years ago |
|
max_size.pass.cpp
|
license change
|
15 years ago |
|
size.pass.cpp
|
license change
|
15 years ago |
|
types.pass.cpp
|
license change
|
15 years ago |