41 #ifndef PB_DS_BRANCH_POLICY_BASE_HPP
42 #define PB_DS_BRANCH_POLICY_BASE_HPP
51 template<
typename Node_CItr,
typename Node_Itr,
typename _Alloc>
55 typedef typename Node_Itr::value_type
it_type;
56 typedef typename std::iterator_traits<it_type>::value_type
value_type;
57 typedef typename value_type::first_type
key_type;
60 typedef typename remove_const<key_type>::type
rckey_type;
62 typedef typename _Alloc::template rebind<rcvalue_type>::other
rebind_v;
63 typedef typename _Alloc::template rebind<rckey_type>::other
rebind_k;
73 {
return r_val.first; }
87 template<
typename Node_CItr,
typename _Alloc>
91 typedef typename Node_CItr::value_type
it_type;
92 typedef typename std::iterator_traits<it_type>::value_type
value_type;
94 typedef typename _Alloc::template rebind<rcvalue_type>::other
rebind_v;
119 #endif // #ifndef PB_DS_BRANCH_POLICY_BASE_HPP
_Alloc::template rebind< rckey_type >::other rebind_k
Definition: branch_policy.hpp:63
virtual ~branch_policy()
Definition: branch_policy.hpp:83
static key_const_reference extract_key(const_reference r_val)
Definition: branch_policy.hpp:103
_Alloc::template rebind< rcvalue_type >::other rebind_v
Definition: branch_policy.hpp:62
rebind_v::const_pointer const_pointer
Definition: branch_policy.hpp:67
rebind_v::const_reference const_reference
Definition: branch_policy.hpp:66
rebind_v::reference reference
Definition: branch_policy.hpp:65
Primary template, base class for branch structure policies.
Definition: branch_policy.hpp:52
remove_const< value_type >::type rcvalue_type
Definition: branch_policy.hpp:59
remove_const< value_type >::type rcvalue_type
Definition: branch_policy.hpp:93
std::iterator_traits< it_type >::value_type value_type
Definition: branch_policy.hpp:56
_Alloc::template rebind< rcvalue_type >::other rebind_v
Definition: branch_policy.hpp:94
it_type end_iterator() const
Definition: branch_policy.hpp:110
std::iterator_traits< it_type >::value_type value_type
Definition: branch_policy.hpp:92
remove_const< key_type >::type rckey_type
Definition: branch_policy.hpp:60
value_type key_type
Definition: branch_policy.hpp:99
Node_Itr::value_type it_type
Definition: branch_policy.hpp:55
rebind_v::const_pointer const_pointer
Definition: branch_policy.hpp:97
static key_const_reference extract_key(const_reference r_val)
Definition: branch_policy.hpp:72
Node_CItr::value_type it_type
Definition: branch_policy.hpp:91
rebind_k::const_reference key_const_reference
Definition: branch_policy.hpp:69
rebind_v::reference reference
Definition: branch_policy.hpp:95
virtual ~branch_policy()
Definition: branch_policy.hpp:114
rebind_v::const_reference key_const_reference
Definition: branch_policy.hpp:100
value_type::first_type key_type
Definition: branch_policy.hpp:57
it_type end_iterator() const
Definition: branch_policy.hpp:79
rebind_v::const_reference const_reference
Definition: branch_policy.hpp:96