|
Rice
3.0.0
|
A helper class for dereferencing iterators. More...
#include <Hash.hpp>
Public Member Functions | |
| Entry (Hash hash, Object key) | |
| Construct a new Entry. | |
| Entry (Entry const &entry) | |
| Copy constructor. | |
| Entry & | operator= (Entry const &rhs) |
| void | swap (Entry &entry) |
Public Attributes | |
| Object const | key |
| The key. | |
| Object const & | first |
| An alias for the key. | |
| Proxy | value |
| The value. | |
| Proxy & | second |
| An alias for the value. | |
Friends | |
| bool | operator< (Entry const &lhs, Entry const &rhs) |
A helper class for dereferencing iterators.
This class is intended to look similar to an std::pair.