Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

__gnu_pbds::lu_counter_policy(3) [centos man page]

__gnu_pbds::lu_counter_policy< Max_Count, _Alloc >(3)	     Library Functions Manual	     __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >(3)

NAME
__gnu_pbds::lu_counter_policy< Max_Count, _Alloc > - SYNOPSIS
Inherits __gnu_pbds::detail::lu_counter_policy_base< _Alloc::size_type >. Public Types enum { max_count } typedef _Alloc allocator_type typedef __rebind_m::other::reference metadata_reference" typedef detail::lu_counter_metadata < size_type > metadata_type" typedef allocator_type::size_type size_type Public Member Functions metadata_type operator() () const bool operator() (metadata_reference r_data) const Private Member Functions lu_counter_metadata< size_type > operator() (size_type max_size) const bool operator() (Metadata_Reference r_data, size_type m_max_count) const Detailed Description template<std::size_t Max_Count = 5, typename _Alloc = std::allocator<char>>class __gnu_pbds::lu_counter_policy< Max_Count, _Alloc > A list-update policy that moves elements to the front of the list based on the counter algorithm. Definition at line 92 of file list_update_policy.hpp. Member Typedef Documentation template<std::size_t Max_Count = 5, typename _Alloc = std::allocator<char>> typedef __rebind_m::other::reference __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >::metadata_reference Reference to metadata on which this functor operates. Definition at line 115 of file list_update_policy.hpp. template<std::size_t Max_Count = 5, typename _Alloc = std::allocator<char>> typedef detail::lu_counter_metadata<size_type> __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >::metadata_type Metadata on which this functor operates. Definition at line 107 of file list_update_policy.hpp. Member Enumeration Documentation template<std::size_t Max_Count = 5, typename _Alloc = std::allocator<char>> anonymous enum Enumerator max_count When some element is accessed this number of times, it will be moved to the front of the list. Definition at line 99 of file list_update_policy.hpp. Member Function Documentation template<std::size_t Max_Count = 5, typename _Alloc = std::allocator<char>> metadata_type __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >::operator() () const [inline] Creates a metadata object. Definition at line 119 of file list_update_policy.hpp. References __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >::max_count. template<std::size_t Max_Count = 5, typename _Alloc = std::allocator<char>> bool __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >::operator() (metadata_referencer_data) const [inline] Decides whether a metadata object should be moved to the front of the list. Definition at line 125 of file list_update_policy.hpp. References __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >::max_count. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Jun 10 2014 __gnu_pbds::lu_counter_policy< Max_Count, _Alloc >(3)

Check Out this Related Man Page

__gnu_pbds::detail::pat_trie_base::_No__gnu_pbds::detail::pat_trie_base::_Node_iter<INode,oLeaf,lHead,(Inode, _CIterator, Iterator, _Alloc >(3cxx)

NAME
__gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc > - SYNOPSIS
Inherits __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >. Public Types typedef _Alloc::template rebind< metadata_type > __rebind_m" typedef __rebind_m::other __rebind_ma typedef value_type const_reference typedef trivial_iterator_difference_type difference_type" typedef trivial_iterator_tag iterator_category typedef __rebind_ma::const_reference metadata_const_reference" typedef Node::metadata_type metadata_type typedef value_type reference typedef base_type::size_type size_type typedef Iterator value_type Public Member Functions _Node_iter (node_pointer p_nd=0, a_const_pointer p_traits=0) _Node_iter get_child (size_type i) const metadata_const_reference get_metadata () const size_type num_children () const bool operator!= (const _Node_citer &other) const reference operator* () const bool operator== (const _Node_citer &other) const std::pair< a_const_iterator, a_const_iterator > valid_prefix () const " Public Attributes node_pointer m_p_nd a_const_pointer m_p_traits Protected Types typedef _Alloc::template rebind< Inode > __rebind_in" typedef _Alloc::template rebind< Leaf > __rebind_l" typedef Node::a_const_iterator a_const_iterator typedef __rebind_in::other::const_pointer inode_const_pointer" typedef __rebind_l::other::const_pointer leaf_const_pointer" typedef __rebind_l::other::pointer leaf_pointer Detailed Description template<typename Node, typename Leaf, typename Head, typename Inode, typename _CIterator, typename Iterator, typename _Alloc>class __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc > Node iterator. Definition at line 943 of file pat_trie_base.hpp. Member Typedef Documentation template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > typedef _Alloc::template rebind<metadata_type> __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::__rebind_m [inherited] Const metadata reference type. Definition at line 869 of file pat_trie_base.hpp. template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > typedef Node::metadata_type __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::metadata_type [inherited] Metadata type. Definition at line 866 of file pat_trie_base.hpp. Member Function Documentation template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > _Node_iter __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::get_child (size_typei) const [inline] Returns a node __iterator to the corresponding node's i-th child. Definition at line 976 of file pat_trie_base.hpp. References std::advance(), and std::begin(). template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > metadata_const_reference __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::get_metadata () const [inline], [inherited] Metadata access. Definition at line 894 of file pat_trie_base.hpp. template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > size_type __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::num_children () const [inline], [inherited] Returns the number of children in the corresponding node. Definition at line 899 of file pat_trie_base.hpp. References std::distance(). Referenced by __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator*(), and __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator*(). template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > bool __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator!= (const _Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc > &other) const [inline], [inherited] Compares content (negatively) to a different iterator object. Definition at line 927 of file pat_trie_base.hpp. template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > reference __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator* () const [inline] Access; returns the iterator* associated with the current leaf. Definition at line 968 of file pat_trie_base.hpp. References __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::num_children(). template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > bool __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator== (const _Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc > &other) const [inline], [inherited] Compares content to a different iterator object. Definition at line 922 of file pat_trie_base.hpp. template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > std::pair<a_const_iterator, a_const_iterator> __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::valid_prefix () const [inline], [inherited] Subtree valid prefix. Definition at line 880 of file pat_trie_base.hpp. References std::make_pair(). Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >(3cxx)
Man Page