#include <rc_hash_map.h>
pair is a reimplementation of class std::pair. A custom pair is needed, because boost::multi_index only possesses constant iterators. To enable non-constant accesses to the second data element it has to be declared "mutable".
Definition at line 63 of file rc_hash_map.h.
Public Types | |
| typedef T1 | first_type |
| typedef T2 | second_type |
Public Member Functions | |
| pair () | |
| pair (const T1 &f, const T2 &s) | |
| pair (const std::pair< T1, T2 > &p) | |
| o () const | |
Public Attributes | |
| T1 | first |
| T2 | second |
| typedef T1 first_type |
Definition at line 65 of file rc_hash_map.h.
| typedef T2 second_type |
Definition at line 66 of file rc_hash_map.h.
| pair | ( | ) | [inline] |
Definition at line 68 of file rc_hash_map.h.
| pair | ( | const T1 & | f, | |
| const T2 & | s | |||
| ) | [inline] |
Definition at line 71 of file rc_hash_map.h.
| pair | ( | const std::pair< T1, T2 > & | p | ) | [inline] |
Definition at line 74 of file rc_hash_map.h.
| o | ( | ) | const [inline] |
Definition at line 78 of file rc_hash_map.h.
| T1 first |
T2 second [mutable] |
1.5.3