From b1e497cd1da3bec8a57000970738c391c698154b Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 5 Jan 2023 15:35:34 -0800 Subject: [PATCH] Get test suite passing --- include/boost/unordered/detail/foa.hpp | 3 ++- include/boost/unordered/unordered_flat_map.hpp | 3 +-- include/boost/unordered/unordered_flat_set.hpp | 1 - include/boost/unordered/unordered_node_map.hpp | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index cfbdcf57..db09234a 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -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::value|| + std::is_nothrow_move_constructible::value|| + std::is_same::value|| !std::is_copy_constructible::value>{}); } diff --git a/include/boost/unordered/unordered_flat_map.hpp b/include/boost/unordered/unordered_flat_map.hpp index 71f9d914..2e43453d 100644 --- a/include/boost/unordered/unordered_flat_map.hpp +++ b/include/boost/unordered/unordered_flat_map.hpp @@ -43,8 +43,7 @@ namespace boost { using moved_type = std::pair; using value_type = std::pair; - using emplace_type = value_type; - using storage_type = std::pair; + using storage_type = value_type; template static raw_key_type const& extract(std::pair const& kv) diff --git a/include/boost/unordered/unordered_flat_set.hpp b/include/boost/unordered/unordered_flat_set.hpp index 8c0f2caf..343a8675 100644 --- a/include/boost/unordered/unordered_flat_set.hpp +++ b/include/boost/unordered/unordered_flat_set.hpp @@ -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; } diff --git a/include/boost/unordered/unordered_node_map.hpp b/include/boost/unordered/unordered_node_map.hpp index fd570c76..cb3e995f 100644 --- a/include/boost/unordered/unordered_node_map.hpp +++ b/include/boost/unordered/unordered_node_map.hpp @@ -44,7 +44,6 @@ namespace boost { using moved_type = std::pair*; using value_type = std::pair; - using emplace_type = value_type; using storage_type = value_type*; template