Nuspell
spell checker
Loading...
Searching...
No Matches
nuspell::Prefix_Multiset< T, Key_Extr, Key_Transform > Class Template Reference

Classes

class  Iter_Prefixes_Of
 

Public Types

using Value_Type = T
 
using Key_Type
 
using Char_Type = typename Key_Type::value_type
 
using Traits = typename Key_Type::traits_type
 
using Vector_Type = std::vector<T>
 
using Iterator = typename Vector_Type::const_iterator
 

Public Member Functions

 Prefix_Multiset (Key_Extr ke, Key_Transform kt={})
 
 Prefix_Multiset (const Vector_Type &v, Key_Extr ke={}, Key_Transform kt={})
 
 Prefix_Multiset (Vector_Type &&v, Key_Extr ke={}, Key_Transform kt={})
 
 Prefix_Multiset (std::initializer_list< T > list, Key_Extr ke={}, Key_Transform kt={})
 
auto & operator= (const Vector_Type &v)
 
auto & operator= (Vector_Type &&v)
 
auto & operator= (std::initializer_list< T > list)
 
auto & data () const
 
template<class Func>
auto for_each_prefixes_of (const Key_Type &word, Func func) const
 
template<class OutIter>
auto copy_all_prefixes_of (const Key_Type &word, OutIter o) const
 
auto iterate_prefixes_of (const Key_Type &word) const
 
auto iterate_prefixes_of (Key_Type &&word) const =delete
 

Member Typedef Documentation

◆ Key_Type

template<class T, class Key_Extr = identity, class Key_Transform = identity>
using nuspell::Prefix_Multiset< T, Key_Extr, Key_Transform >::Key_Type
Initial value:
std::remove_reference_t<decltype(std::declval<Key_Extr>()(
std::declval<T>()))>

The documentation for this class was generated from the following file: