PMDK C++ bindings  1.13.0-git107.g7e59f08f
This is the C++ bindings documentation for PMDK's libpmemobj.
slice.hpp File Reference

Interface to access sequence of objects. More...

#include <iterator>
#include <stdexcept>
#include <type_traits>
#include "detail/template_helpers.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pmem::obj::slice< Iterator >
 Provides interface to access sequence of objects. More...
 

Namespaces

 pmem
 Persistent memory namespace.
 
 pmem::detail
 Implementation details.
 
 pmem::obj
 Main libpmemobj namespace.
 

Typedefs

template<typename Iterator >
using pmem::detail::subtraction = decltype(std::declval< Iterator >() - std::declval< Iterator >())
 
template<typename Iterator >
using pmem::detail::has_subtraction = supports< Iterator, subtraction >
 
template<typename Iterator >
using pmem::detail::pre_decrement = decltype(std::declval< Iterator >().operator--())
 
template<typename Iterator >
using pmem::detail::has_pre_decrement = supports< Iterator, pre_decrement >
 
template<typename Iterator >
using pmem::detail::indexing = decltype(std::declval< Iterator >().operator[](std::declval< typename std::iterator_traits< Iterator >::difference_type >()))
 
template<typename Iterator >
using pmem::detail::has_indexing = supports< Iterator, indexing >
 

Detailed Description

Interface to access sequence of objects.