InspIRCd  3.0
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
insp::detail::flat_map_base< T, Comp, Key, ElementComp > Class Template Reference

Public Types

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 Key key_type
 
typedef T value_type
 
typedef Comp key_compare
 
typedef ElementComp value_compare
 

Public Member Functions

 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 ()
 
iterator end ()
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 
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
 

Protected Types

typedef std::vector< T > storage_type
 

Protected Member Functions

std::pair< iterator, bool > insert_single (const value_type &x)
 
iterator insert_multi (const value_type &x)
 

Protected Attributes

storage_type vect
 

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