Get test suite passing

This commit is contained in:
Christian Mazakas
2023-01-05 15:35:34 -08:00
parent cbe19722a3
commit b1e497cd1d
4 changed files with 3 additions and 5 deletions

View File

@ -1970,7 +1970,8 @@ private:
p,hash_for(key_from(*p)),arrays_,num_destroyed,
std::integral_constant< /* std::move_if_noexcept semantics */
bool,
std::is_nothrow_move_constructible<storage_type>::value||
std::is_nothrow_move_constructible<init_type>::value||
std::is_same<storage_type,value_type*>::value||
!std::is_copy_constructible<storage_type>::value>{});
}

View File

@ -43,8 +43,7 @@ namespace boost {
using moved_type = std::pair<raw_key_type&&, raw_mapped_type&&>;
using value_type = std::pair<Key const, T>;
using emplace_type = value_type;
using storage_type = std::pair<Key const, T>;
using storage_type = value_type;
template <class K, class V>
static raw_key_type const& extract(std::pair<K, V> const& kv)

View File

@ -37,7 +37,6 @@ namespace boost {
using init_type = Key;
using value_type = Key;
using emplace_type = value_type;
using storage_type = Key;
static Key const& extract(value_type const& key) { return key; }

View File

@ -44,7 +44,6 @@ namespace boost {
using moved_type = std::pair<Key const, T>*;
using value_type = std::pair<Key const, T>;
using emplace_type = value_type;
using storage_type = value_type*;
template <class K, class V>