pstore2
Public Member Functions | List of all members
pstore::index::range< Database, Container, Iterator > Class Template Reference

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.
 

Detailed Description

template<typename Database, typename Container, typename Iterator>
class pstore::index::range< Database, Container, Iterator >

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.


The documentation for this class was generated from the following file: