boost::text::trie_match_result
// In header: <boost/text/trie.hpp> struct trie_match_result { // construct/copy/destruct trie_match_result(); trie_match_result(void const *, std::ptrdiff_t, bool, bool); // public data members void const * node; std::ptrdiff_t size; bool match; bool leaf; };
The result type for trie operations that produce a matching subsequence.
trie_match_result
public
public data membersvoid const * node;
An opaque pointer to the underlying trie node.
std::ptrdiff_t size;
The size/length of the match, from the root through node
, inclusive.
bool match;
True iff this result represents a match. Stated another way, match
is true iff node
represents an element in the trie (whether or not node
has children).
bool leaf;
True iff node
is a leaf (that is, that node
hs no children).