Definition at line 30 of file small_map.h.
Public Types | |
typedef std::pair< Key, Data > | value_type |
typedef Key | key_type |
typedef Data | data_type |
typedef std::vector< value_type > | container |
typedef container::iterator | iterator |
typedef container::const_iterator | const_iterator |
Public Member Functions | |
small_map (std::size_t sz=0) | |
iterator | find (key_type k) |
const_iterator | find (key_type k) const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
data_type & | operator[] (key_type k) |
void | insert (const value_type &v) |
std::size_t | size () const |
Protected Attributes | |
container | c_ |