Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Types | Public Member Functions | List of all members
smlt::ContiguousMap< K, V, Compare > Class Template Reference

Public Types

typedef ContiguousMultiMap< K, V, Compare >::iterator iterator
 
typedef ContiguousMultiMap< K, V, Compare >::const_iterator const_iterator
 

Public Member Functions

 ContiguousMap (std::size_t reserve)
 
bool empty () const
 
std::size_t size () const
 
bool insert (const K &key, V &&element)
 
V & at (const K &key)
 
const V & at (const K &key) const
 
bool insert (const K &key, const V &element)
 
void shrink_to_fit ()
 
void clear ()
 
iterator find (const K &key)
 
const_iterator find (const K &key) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

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