ReadMap Class Template Reference
[Concepts]
#include <lemon/concepts/maps.h>
List of all members.
Detailed Description
template<typename K, typename T>
class lemon::concepts::ReadMap< K, T >
Readable map concept.
|
Public Types |
typedef K | Key |
| The key type of the map.
|
typedef T | Value |
| The value type of the map. (The type of objects associated with the keys).
|
Public Member Functions |
Value | operator[] (const Key &) const |
| Returns the value associated with a key.
|
Member Function Documentation
Value operator[] |
( |
const Key & |
|
) |
const [inline] |
Returns the value associated with a key.
- Bug:
- Value shouldn't need to be default constructible.
Reimplemented in ReadWriteMap, and ReferenceMap.
The documentation for this class was generated from the following file: