PrevUpHomeNext

Struct template trie_element

boost::text::trie_element

Synopsis

// In header: <boost/text/trie.hpp>

template<typename Key, typename Value> 
struct trie_element {
  // construct/copy/destruct
  trie_element();
  trie_element(Key, Value);
  template<typename KeyT, typename ValueT> 
    trie_element(trie_element< KeyT, ValueT > const &);
  template<typename KeyT, typename ValueT> 
    trie_element(trie_element< KeyT, ValueT > &&);
  template<typename KeyT, typename ValueT> 
    trie_element & operator=(trie_element< KeyT, ValueT > const &);
  template<typename KeyT, typename ValueT> 
    trie_element & operator=(trie_element< KeyT, ValueT > &&);

  // public data members
  Key key;
  Value value;
};

Description

A key/value pair found in a trie or trie_map.

trie_element public construct/copy/destruct

  1. trie_element();
  2. trie_element(Key k, Value v);
  3. template<typename KeyT, typename ValueT> 
      trie_element(trie_element< KeyT, ValueT > const & rhs);
  4. template<typename KeyT, typename ValueT> 
      trie_element(trie_element< KeyT, ValueT > && rhs);
  5. template<typename KeyT, typename ValueT> 
      trie_element & operator=(trie_element< KeyT, ValueT > const & rhs);
  6. template<typename KeyT, typename ValueT> 
      trie_element & operator=(trie_element< KeyT, ValueT > && rhs);

PrevUpHomeNext