PMDK C++ bindings
1.2.0
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Const iterator. More...
#include <libpmemobj++/experimental/contiguous_iterator.hpp>
Public Member Functions | |
const_contiguous_iterator (pointer ptr=nullptr) | |
Constructor taking pointer as argument. | |
const_contiguous_iterator (const basic_contiguous_iterator< T > &other) | |
Conversion operator from non-const iterator. | |
const_contiguous_iterator (const range_snapshotting_iterator< T > &other) | |
Conversion operator from non-const iterator. | |
![]() | |
constexpr | contiguous_iterator (const T *begin) |
Constructor taking a pointer. | |
const T & | operator* () const |
Dereference operator. | |
const T * | operator-> () const |
Arrow operator. | |
const_contiguous_iterator< T > & | operator++ () |
Prefix increment operator. | |
const_contiguous_iterator< T > | operator++ (int) |
Postfix increment operator. | |
const_contiguous_iterator< T > & | operator-- () |
Prefix decrement operator. | |
const_contiguous_iterator< T > | operator-- (int) |
Postfix decrement operator. | |
const_contiguous_iterator< T > & | operator+= (std::ptrdiff_t n) |
Addition assignment operator. | |
const_contiguous_iterator< T > & | operator-= (std::ptrdiff_t n) |
Subtraction assignment operator. | |
const_contiguous_iterator< T > | operator+ (std::ptrdiff_t n) |
Addition operator. | |
const_contiguous_iterator< T > | operator- (std::ptrdiff_t n) |
Subtraction operator overload for integral type. | |
const T & | operator[] (std::size_t n) |
Element access operator. | |
Friends | |
void | swap (const_contiguous_iterator &lhs, const_contiguous_iterator &rhs) |
Non-member swap function. | |
Additional Inherited Members | |
![]() | |
void | change_by (std::ptrdiff_t n) |
Function for changing underlying pointer. More... | |
Const iterator.