llvm-project/libcxx/test/std/containers/unord
Eric Fiselier 0f90567744 Fix LWG issue 2469 - Use piecewise construction in unordered_map::operator[].
unordered_map's allocator may only be used to construct objects of 'value_type',
or in this case 'pair<const Key, Value>'. In order to respect this requirement
in operator[], which requires default constructing the 'mapped_type', we have
to use pair's piecewise constructor with '(tuple<Kep>, tuple<>)'.

Unfortunately we still need to provide a fallback implementation for C++03
since we don't have <tuple>. Even worse this fallback is the last remaining
user of '__hash_map_node_destructor' and '__construct_node_with_key'.

llvm-svn: 260601
2016-02-11 21:45:53 +00:00
..
unord.map Fix LWG issue 2469 - Use piecewise construction in unordered_map::operator[]. 2016-02-11 21:45:53 +00:00
unord.multimap Teach __hash_table how to handle unordered_map's __hash_value_type. 2016-02-11 11:59:44 +00:00
unord.multiset Teach __hash_table how to handle unordered_map's __hash_value_type. 2016-02-11 11:59:44 +00:00
unord.set Teach __hash_table how to handle unordered_map's __hash_value_type. 2016-02-11 11:59:44 +00:00
iterator_difference_type.pass.cpp Recommit r260012 - Cleanup node-type handling in the unordered containers. 2016-02-10 20:46:23 +00:00
next_prime.pass.cpp