GNU g++  v5.2.1
GNU Standard C++
__gnu_pbds::sample_tree_node_update< Const_Node_Iter, Node_Iter, Cmp_Fn, _Alloc > Class Template Reference

A sample node updator. More...

#include <sample_tree_node_update.hpp>

Private Types

typedef std::size_t metadata_type
 

Private Member Functions

 sample_tree_node_update ()
 Default constructor. More...
 
void operator() (node_iterator node_it, node_const_iterator end_nd_it) const
 Updates the rank of a node through a node_iterator node_it; end_nd_it is the end node iterator. More...
 

Detailed Description

template<typename Const_Node_Iter, typename Node_Iter, typename Cmp_Fn, typename _Alloc>
class __gnu_pbds::sample_tree_node_update< Const_Node_Iter, Node_Iter, Cmp_Fn, _Alloc >

A sample node updator.

Member Typedef Documentation

template<typename Const_Node_Iter , typename Node_Iter , typename Cmp_Fn , typename _Alloc >
typedef std::size_t __gnu_pbds::sample_tree_node_update< Const_Node_Iter, Node_Iter, Cmp_Fn, _Alloc >::metadata_type
private

Constructor & Destructor Documentation

template<typename Const_Node_Iter , typename Node_Iter , typename Cmp_Fn , typename _Alloc >
__gnu_pbds::sample_tree_node_update< Const_Node_Iter, Node_Iter, Cmp_Fn, _Alloc >::sample_tree_node_update ( )
private

Default constructor.

Member Function Documentation

template<typename Const_Node_Iter , typename Node_Iter , typename Cmp_Fn , typename _Alloc >
void __gnu_pbds::sample_tree_node_update< Const_Node_Iter, Node_Iter, Cmp_Fn, _Alloc >::operator() ( node_iterator  node_it,
node_const_iterator  end_nd_it 
) const
inlineprivate

Updates the rank of a node through a node_iterator node_it; end_nd_it is the end node iterator.


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