__gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >(3) | Library Functions Manual | __gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >(3) |
NAME¶
__gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >
SYNOPSIS¶
Inherits __gnu_pbds::basic_branch< Key, Mapped, pat_trie_tag, detail::trie_traits< Key, Mapped, typename detail::default_trie_access_traits< Key >::type, null_node_update, pat_trie_tag, std::allocator< char > > ::node_update, __gnu_cxx::typelist::create2< typename detail::default_trie_access_traits< Key >::type, detail::trie_traits< Key, Mapped, typename detail::default_trie_access_traits< Key >::type, null_node_update, pat_trie_tag, std::allocator< char > > >::type, std::allocator< char > >.
Public Types¶
typedef _ATraits access_traits
Element access traits type. typedef detail::trie_traits< Key,
Mapped, typename detail::default_trie_access_traits< Key
>::type, null_node_update, pat_trie_tag,
std::allocator< char > > ::node_update node_update
Public Member Functions¶
trie (const access_traits &t)
Constructor taking some policy objects. r_access_traits will be copied by the
_ATraits object of the container object. trie (const trie
&other)
template<typename It > trie (It first, It last)
Constructor taking __iterators to a range of value_types. The value_types
between first_it and last_it will be inserted into the container object.
template<typename It > trie (It first, It last, const
access_traits &t)
Constructor taking __iterators to a range of value_types and some policy
objects. The value_types between first_it and last_it will be inserted into
the container object. trie & operator= (const trie
&other)
void swap (trie &other)
Detailed Description¶
template<typename Key, typename Mapped, typename _ATraits = typename detail::default_trie_access_traits<Key>::type, typename Tag = pat_trie_tag, template< typename Node_CItr, typename Node_Itr, typename _ATraits_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator<char>>¶
class __gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >" A trie-based container.
Template Parameters
Mapped Map type.
_ATraits Element access traits.
Tag Instantiating data structure type, see container_tag.
Node_Update Updates trie internal-nodes, restores invariants when invalidated. XXX See design::tree-based-containersnode invariants.
_Alloc Allocator type.
Base tag choice is pat_trie_tag.
Base is basic_branch.
Member Typedef Documentation¶
template<typename Key , typename Mapped , typename _ATraits = typename detail::default_trie_access_traits<Key>::type, typename Tag = pat_trie_tag, template< typename Node_CItr, typename Node_Itr, typename _ATraits_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator<char>> typedef _ATraits __gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >::access_traits¶
Element access traits type.
Constructor & Destructor Documentation¶
template<typename Key , typename Mapped , typename _ATraits = typename detail::default_trie_access_traits<Key>::type, typename Tag = pat_trie_tag, template< typename Node_CItr, typename Node_Itr, typename _ATraits_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator<char>> __gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >::trie (const access_traits & t) [inline]¶
Constructor taking some policy objects. r_access_traits will be copied by the _ATraits object of the container object.
template<typename Key , typename Mapped , typename _ATraits = typename detail::default_trie_access_traits<Key>::type, typename Tag = pat_trie_tag, template< typename Node_CItr, typename Node_Itr, typename _ATraits_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator<char>> template<typename It > __gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >::trie (It first, It last) [inline]¶
Constructor taking __iterators to a range of value_types. The value_types between first_it and last_it will be inserted into the container object.
template<typename Key , typename Mapped , typename _ATraits = typename detail::default_trie_access_traits<Key>::type, typename Tag = pat_trie_tag, template< typename Node_CItr, typename Node_Itr, typename _ATraits_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator<char>> template<typename It > __gnu_pbds::trie< Key, Mapped, _ATraits, Tag, Node_Update, _Alloc >::trie (It first, It last, const access_traits & t) [inline]¶
Constructor taking __iterators to a range of value_types and some policy objects. The value_types between first_it and last_it will be inserted into the container object.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Mon Dec 18 2023 | libstdc++ |