InspIRCd  3.0
Public Types | Public Member Functions | List of all members
insp::flat_set< T, Comp > Class Template Reference
Inheritance diagram for insp::flat_set< T, Comp >:
insp::detail::flat_map_base< T, Comp >

Public Types

typedef base_t::iterator iterator
 
typedef base_t::value_type value_type
 
- Public Types inherited from insp::detail::flat_map_base< T, Comp >
typedef storage_type::iterator iterator
 
typedef storage_type::const_iterator const_iterator
 
typedef storage_type::reverse_iterator reverse_iterator
 
typedef storage_type::const_reverse_iterator const_reverse_iterator
 
typedef storage_type::size_type size_type
 
typedef storage_type::difference_type difference_type
 
typedef T key_type
 
typedef T value_type
 
typedef Comp key_compare
 
typedef Comp value_compare
 

Public Member Functions

template<typename InputIterator >
 flat_set (InputIterator first, InputIterator last)
 
 flat_set (const flat_set &other)
 
std::pair< iterator, bool > insert (const value_type &x)
 
template<typename InputIterator >
void insert (InputIterator first, InputIterator last)
 
void swap (flat_set &other)
 
- Public Member Functions inherited from insp::detail::flat_map_base< T, Comp >
 flat_map_base (const flat_map_base &other)
 
size_type size () const
 
bool empty () const
 
size_type capacity () const
 
size_type max_size () const
 
void clear ()
 
void reserve (size_type n)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
key_compare key_comp () const
 
iterator erase (iterator it)
 
iterator erase (iterator first, iterator last)
 
size_type erase (const key_type &x)
 
iterator find (const key_type &x)
 
const_iterator find (const key_type &x) const
 
std::pair< iterator, iterator > equal_range (const key_type &x)
 
std::pair< const_iterator, const_iterator > equal_range (const key_type &x) const
 
iterator lower_bound (const key_type &x)
 
const_iterator lower_bound (const key_type &x) const
 
iterator upper_bound (const key_type &x)
 
const_iterator upper_bound (const key_type &x) const
 
size_type count (const key_type &x) const
 

Additional Inherited Members

- Protected Types inherited from insp::detail::flat_map_base< T, Comp >
typedef std::vector< T > storage_type
 
- Protected Member Functions inherited from insp::detail::flat_map_base< T, Comp >
std::pair< iterator, bool > insert_single (const value_type &x)
 
iterator insert_multi (const value_type &x)
 
- Protected Attributes inherited from insp::detail::flat_map_base< T, Comp >
storage_type vect
 

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