PMDK C++ bindings  1.13.0-git107.g7e59f08f
This is the C++ bindings documentation for PMDK's libpmemobj.
pmem::detail::self_relative_accessor< T > Class Template Reference

Static class accessor to self_relative_ptr_base. More...

#include <libpmemobj++/detail/self_relative_ptr_base_impl.hpp>

Public Types

using access_type = self_relative_ptr_base_impl< T >
 
using difference_type = typename access_type::difference_type
 

Static Public Member Functions

template<typename PointerType >
static difference_type pointer_to_offset (const access_type &obj, PointerType *ptr)
 
template<typename PointerType >
static PointerType * offset_to_pointer (difference_type offset, const access_type &obj)
 
static T & get_offset (access_type &ptr)
 
static const T & get_offset (const access_type &ptr)
 

Detailed Description

template<typename T>
class pmem::detail::self_relative_accessor< T >

Static class accessor to self_relative_ptr_base.


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