From 73eefd2b5d43aa3a7954f5db7ecc4f2a9933d9dc Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Sun, 19 Feb 2023 21:21:43 -0800 Subject: [PATCH] Rename Node{X}Types to TypePolicy in node-based foa containers --- include/boost/unordered/unordered_node_map.hpp | 10 +++++----- include/boost/unordered/unordered_node_set.hpp | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/boost/unordered/unordered_node_map.hpp b/include/boost/unordered/unordered_node_map.hpp index 81493a20..10202787 100644 --- a/include/boost/unordered/unordered_node_map.hpp +++ b/include/boost/unordered/unordered_node_map.hpp @@ -132,13 +132,13 @@ namespace boost { } }; - template + template struct node_map_handle - : public detail::foa::node_handle_base + : public detail::foa::node_handle_base { private: using base_type = - detail::foa::node_handle_base; + detail::foa::node_handle_base; using typename base_type::type_policy; @@ -146,8 +146,8 @@ namespace boost { friend class boost::unordered::unordered_node_map; public: - using key_type = typename NodeMapTypes::key_type; - using mapped_type = typename NodeMapTypes::mapped_type; + using key_type = typename TypePolicy::key_type; + using mapped_type = typename TypePolicy::mapped_type; constexpr node_map_handle() noexcept = default; node_map_handle(node_map_handle&& nh) noexcept = default; diff --git a/include/boost/unordered/unordered_node_set.hpp b/include/boost/unordered/unordered_node_set.hpp index 2fcd4f8b..d70cb608 100644 --- a/include/boost/unordered/unordered_node_set.hpp +++ b/include/boost/unordered/unordered_node_set.hpp @@ -114,13 +114,13 @@ namespace boost { } }; - template + template struct node_set_handle - : public detail::foa::node_handle_base + : public detail::foa::node_handle_base { private: using base_type = - detail::foa::node_handle_base; + detail::foa::node_handle_base; using typename base_type::type_policy; @@ -128,7 +128,7 @@ namespace boost { friend class boost::unordered::unordered_node_set; public: - using value_type = typename NodeSetTypes::value_type; + using value_type = typename TypePolicy::value_type; constexpr node_set_handle() noexcept = default; node_set_handle(node_set_handle&& nh) noexcept = default;