PMDK C++ bindings  1.2.0
This is the C++ bindings documentation for PMDK's libpmemobj.
Public Member Functions | Friends | List of all members
pmem::obj::experimental::const_contiguous_iterator< T > Struct Template Reference

Const iterator. More...

#include <libpmemobj++/experimental/contiguous_iterator.hpp>

Inheritance diagram for pmem::obj::experimental::const_contiguous_iterator< T >:
pmem::obj::experimental::contiguous_iterator< const_contiguous_iterator< T >, const T &, const T *> pmem::obj::experimental::operator_base< T >

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.
 
- Public Member Functions inherited from pmem::obj::experimental::contiguous_iterator< const_contiguous_iterator< T >, const T &, const T *>
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) const
 Addition operator.
 
const_contiguous_iterator< T > operator- (std::ptrdiff_t n) const
 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

- Protected Member Functions inherited from pmem::obj::experimental::contiguous_iterator< const_contiguous_iterator< T >, const T &, const T *>
void change_by (std::ptrdiff_t n)
 Function for changing underlying pointer. More...
 

Detailed Description

template<typename T>
struct pmem::obj::experimental::const_contiguous_iterator< T >

Const iterator.


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