|
pstore2
|
The begin() and end() functions for both hamt_map and hamt_set take an extra parameter – the owning database – which prevents the container's direct use in range-based for loops. More...
#include <hamt_map_fwd.hpp>
Public Member Functions | |
| range (Database &d, Container &c) | |
| Iterator | begin () const |
| Returns an iterator to the beginning of the container. | |
| Iterator | end () const |
| Returns an iterator to the end of the container. | |
The begin() and end() functions for both hamt_map and hamt_set take an extra parameter – the owning database – which prevents the container's direct use in range-based for loops.
This class can provide the required argument. It is created by calling the make_range() method of either of those container.
1.8.13