forked from boostorg/unordered
Rename Node{X}Types to TypePolicy in node-based foa containers
This commit is contained in:
@ -132,13 +132,13 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class NodeMapTypes, class Allocator>
|
template <class TypePolicy, class Allocator>
|
||||||
struct node_map_handle
|
struct node_map_handle
|
||||||
: public detail::foa::node_handle_base<NodeMapTypes, Allocator>
|
: public detail::foa::node_handle_base<TypePolicy, Allocator>
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
using base_type =
|
using base_type =
|
||||||
detail::foa::node_handle_base<NodeMapTypes, Allocator>;
|
detail::foa::node_handle_base<TypePolicy, Allocator>;
|
||||||
|
|
||||||
using typename base_type::type_policy;
|
using typename base_type::type_policy;
|
||||||
|
|
||||||
@ -146,8 +146,8 @@ namespace boost {
|
|||||||
friend class boost::unordered::unordered_node_map;
|
friend class boost::unordered::unordered_node_map;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using key_type = typename NodeMapTypes::key_type;
|
using key_type = typename TypePolicy::key_type;
|
||||||
using mapped_type = typename NodeMapTypes::mapped_type;
|
using mapped_type = typename TypePolicy::mapped_type;
|
||||||
|
|
||||||
constexpr node_map_handle() noexcept = default;
|
constexpr node_map_handle() noexcept = default;
|
||||||
node_map_handle(node_map_handle&& nh) noexcept = default;
|
node_map_handle(node_map_handle&& nh) noexcept = default;
|
||||||
|
@ -114,13 +114,13 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class NodeSetTypes, class Allocator>
|
template <class TypePolicy, class Allocator>
|
||||||
struct node_set_handle
|
struct node_set_handle
|
||||||
: public detail::foa::node_handle_base<NodeSetTypes, Allocator>
|
: public detail::foa::node_handle_base<TypePolicy, Allocator>
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
using base_type =
|
using base_type =
|
||||||
detail::foa::node_handle_base<NodeSetTypes, Allocator>;
|
detail::foa::node_handle_base<TypePolicy, Allocator>;
|
||||||
|
|
||||||
using typename base_type::type_policy;
|
using typename base_type::type_policy;
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ namespace boost {
|
|||||||
friend class boost::unordered::unordered_node_set;
|
friend class boost::unordered::unordered_node_set;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using value_type = typename NodeSetTypes::value_type;
|
using value_type = typename TypePolicy::value_type;
|
||||||
|
|
||||||
constexpr node_set_handle() noexcept = default;
|
constexpr node_set_handle() noexcept = default;
|
||||||
node_set_handle(node_set_handle&& nh) noexcept = default;
|
node_set_handle(node_set_handle&& nh) noexcept = default;
|
||||||
|
Reference in New Issue
Block a user