SYNOPSIS

Inherited by __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >.

Public Types

typedef Const_Iterator const_reference

typedef

trivial_iterator_difference_type difference_type"

typedef trivial_iterator_tag iterator_category

typedef _Alloc::template

rebind< metadata_type >

::other::const_reference metadata_const_reference"

typedef Node::metadata_type metadata_type

typedef Const_Iterator reference

typedef Const_Iterator value_type

Public Member Functions

bin_search_tree_const_node_it_ (const node_pointer p_nd=0)

bin_search_tree_const_node_it_

< Node, Const_Iterator,

Iterator, _Alloc > get_l_child () const "

metadata_const_reference get_metadata () const

bin_search_tree_const_node_it_

< Node, Const_Iterator,

Iterator, _Alloc > get_r_child () const "

bool operator!= (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &other) const

const_reference operator* () const

bool operator== (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &other) const

Public Attributes

node_pointer m_p_nd

Detailed Description

template<typename Node, class Const_Iterator, class Iterator, typename _Alloc>class __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >

Const node iterator.

Definition at line 58 of file bin_search_tree_/node_iterators.hpp.

Member Typedef Documentation

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > typedef Const_Iterator \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::\fBconst_reference\fP

Iterator's __const reference type.

Definition at line 80 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > typedef \fBtrivial_iterator_difference_type\fP \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::\fBdifference_type\fP

Difference type.

Definition at line 71 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > typedef \fBtrivial_iterator_tag\fP \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::\fBiterator_category\fP

Category.

Definition at line 68 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > typedef _Alloc::template rebind<\fBmetadata_type\fP>::other::const_reference \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::\fBmetadata_const_reference\fP

Const metadata reference type.

Definition at line 88 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > typedef Node::metadata_type \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::\fBmetadata_type\fP

Metadata type.

Definition at line 83 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > typedef Const_Iterator \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::\fBreference\fP

Iterator's reference type.

Definition at line 77 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > typedef Const_Iterator \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::\fBvalue_type\fP

Iterator's value type.

Definition at line 74 of file bin_search_tree_/node_iterators.hpp.

Member Function Documentation

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > \fBbin_search_tree_const_node_it_\fP<Node, Const_Iterator, Iterator, _Alloc> \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::get_l_child () const\fC [inline]\fP

Returns the __const node iterator associated with the left node.

Definition at line 107 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > \fBmetadata_const_reference\fP \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::get_metadata () const\fC [inline]\fP

Metadata access.

Definition at line 102 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > \fBbin_search_tree_const_node_it_\fP<Node, Const_Iterator, Iterator, _Alloc> \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::get_r_child () const\fC [inline]\fP

Returns the __const node iterator associated with the right node.

Definition at line 112 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > bool \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::operator!= (const \fBbin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc > &other) const\fC [inline]\fP

Compares (negatively) to a different iterator object.

Definition at line 122 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > \fBconst_reference\fP \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::operator* () const\fC [inline]\fP

Access.

Definition at line 97 of file bin_search_tree_/node_iterators.hpp.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc > bool \fB__gnu_pbds::detail::bin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc >::operator== (const \fBbin_search_tree_const_node_it_\fP< Node, Const_Iterator, Iterator, _Alloc > &other) const\fC [inline]\fP

Compares to a different iterator object.

Definition at line 117 of file bin_search_tree_/node_iterators.hpp.

Author

Generated automatically by Doxygen for libstdc++ from the source code.