__gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc > Struct Template Reference
Extensions » Policy-Based Data Structures » Traits

`#include <traits.hpp>`

## Public Types

typedef bin_search_tree_const_it_< typename node_alloc_traits::pointer, typename type_traits::value_type, typename type_traits::pointer, typename type_traits::const_pointer, typename type_traits::reference, typename type_traits::const_reference, false, _Alloc > | const_reverse_iterator
typedef Node | node
typedef bin_search_tree_const_node_it_< Node, point_const_iterator, point_iterator, _Alloc > | node_const_iterator
typedef node_const_iterator | node_iterator
typedef Node_Update< node_const_iterator, node_iterator, Cmp_Fn, _Alloc > | node_update
typedef __gnu_pbds::null_node_update< node_const_iterator, node_iterator, Cmp_Fn, _Alloc > * | null_node_update_pointer
typedef bin_search_tree_const_it_< typename node_alloc_traits::pointer, typename type_traits::value_type, typename type_traits::pointer, typename type_traits::const_pointer, typename type_traits::reference, typename type_traits::const_reference, true, _Alloc > | point_const_iterator
typedef point_const_iterator | point_iterator
typedef const_reverse_iterator | reverse_iterator

## Detailed Description

template<typename Key, class Cmp_Fn, template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node, typename _Alloc>
struct __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >

Specialization.

Definition at line 166 of file bin_search_tree_/traits.hpp.

## Member Typedef Documentation

## const_reverse_iterator

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef bin_search_tree_const_it_< typename node_alloc_traits::pointer, typename type_traits::value_type, typename type_traits::pointer, typename type_traits::const_pointer, typename type_traits::reference, typename type_traits::const_reference, false, _Alloc> __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::const_reverse_iterator

Definition at line 200 of file bin_search_tree_/traits.hpp.

## node

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef Node __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::node

Definition at line 174 of file bin_search_tree_/traits.hpp.

## node_const_iterator

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef bin_search_tree_const_node_it_< Node, point_const_iterator, point_iterator, _Alloc> __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::node_const_iterator

This is an iterator to an iterator: it iterates over nodes, and de-referencing it returns one of the tree's iterators.

Definition at line 212 of file bin_search_tree_/traits.hpp.

## node_iterator

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef node_const_iterator __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::node_iterator

Definition at line 214 of file bin_search_tree_/traits.hpp.

## node_update

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef Node_Update<node_const_iterator, node_iterator, Cmp_Fn, _Alloc> __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::node_update

Definition at line 218 of file bin_search_tree_/traits.hpp.

## null_node_update_pointer

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef __gnu_pbds::null_node_update< node_const_iterator, node_iterator, Cmp_Fn, _Alloc>* __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::null_node_update_pointer

Definition at line 226 of file bin_search_tree_/traits.hpp.

## point_const_iterator

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef bin_search_tree_const_it_< typename node_alloc_traits::pointer, typename type_traits::value_type, typename type_traits::pointer, typename type_traits::const_pointer, typename type_traits::reference, typename type_traits::const_reference, true, _Alloc> __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::point_const_iterator

Definition at line 186 of file bin_search_tree_/traits.hpp.

## point_iterator

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef point_const_iterator __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::point_iterator

Definition at line 188 of file bin_search_tree_/traits.hpp.

## reverse_iterator

template<typename Key , class Cmp_Fn , template< typename Node_CItr, class Node_Itr, class _Cmp_Fn, typename _Alloc > class Node_Update, class Node , typename _Alloc >

typedef const_reverse_iterator __gnu_pbds::detail::bin_search_tree_traits< Key, null_type, Cmp_Fn, Node_Update, Node, _Alloc >::reverse_iterator

Definition at line 202 of file bin_search_tree_/traits.hpp.

The documentation for this struct was generated from the following file:

- bin_search_tree_/traits.hpp