STX B+ Tree Template Classes 0.8.6
Public Member Functions

stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc >::btree_pair_to_value< value_type, pair_type > Struct Template Reference

For sets the second pair_type is an empty struct, so the value_type should only be the first. More...

List of all members.

Public Member Functions

value_type operator() (pair_type &p) const
 Convert a fake pair type to just the first component.
value_type operator() (const pair_type &p) const
 Convert a fake pair type to just the first component.

Detailed Description

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false, typename _Alloc = std::allocator<_Value>>
template<typename value_type, typename pair_type>
struct stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc >::btree_pair_to_value< value_type, pair_type >

For sets the second pair_type is an empty struct, so the value_type should only be the first.

Definition at line 338 of file btree.h.


Member Function Documentation

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false, typename _Alloc = std::allocator<_Value>>
template<typename value_type , typename pair_type >
value_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc >::btree_pair_to_value< value_type, pair_type >::operator() ( pair_type p) const [inline]

Convert a fake pair type to just the first component.

Definition at line 341 of file btree.h.

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false, typename _Alloc = std::allocator<_Value>>
template<typename value_type , typename pair_type >
value_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc >::btree_pair_to_value< value_type, pair_type >::operator() ( const pair_type p) const [inline]

Convert a fake pair type to just the first component.

Definition at line 345 of file btree.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines