halcheck 1.0
Loading...
Searching...
No Matches

◆ set() [2/2]

template<typename K , typename V , typename Hash = std::hash<K>>
template<typename I >
trie halcheck::lib::trie< K, V, Hash >::set ( I first,
I last,
V value ) const
inline

Constructs a new trie with a specific value replaced.

Template Parameters
IThe type of iterator pointing into a sequence of keys.
Parameters
firstAn iterator pointing to the first element of a sequence of keys.
lastAn iterator pointing past the last element of a sequence of keys.
valueThe value to assign.
Returns
A new trie with the value of the node identified by range changed to value.