PMDK C++ bindings  1.13.0-git23.gf49772ac
This is the C++ bindings documentation for PMDK's libpmemobj.
Classes | Namespaces | Functions
array.hpp File Reference

Array container with std::array compatible interface. More...

#include <algorithm>
#include <functional>
#include <initializer_list>
#include <libpmemobj++/container/detail/contiguous_iterator.hpp>
#include <libpmemobj++/detail/common.hpp>
#include <libpmemobj++/persistent_ptr.hpp>
#include <libpmemobj++/pext.hpp>
#include <libpmemobj++/slice.hpp>
#include <libpmemobj++/transaction.hpp>
#include <libpmemobj++/utils.hpp>
#include <libpmemobj/base.h>

Go to the source code of this file.

Classes

struct  pmem::obj::array< T, N >
 pmem::obj::array - persistent container with std::array compatible interface. More...
 

Namespaces

 pmem
 Persistent memory namespace.
 
 pmem::obj
 Main libpmemobj namespace.
 

Functions

template<typename T , std::size_t N>
bool pmem::obj::operator== (const array< T, N > &lhs, const array< T, N > &rhs)
 Non-member equal operator.
 
template<typename T , std::size_t N>
bool pmem::obj::operator!= (const array< T, N > &lhs, const array< T, N > &rhs)
 Non-member not-equal operator.
 
template<typename T , std::size_t N>
bool pmem::obj::operator< (const array< T, N > &lhs, const array< T, N > &rhs)
 Non-member less than operator.
 
template<typename T , std::size_t N>
bool pmem::obj::operator> (const array< T, N > &lhs, const array< T, N > &rhs)
 Non-member greater than operator.
 
template<typename T , std::size_t N>
bool pmem::obj::operator>= (const array< T, N > &lhs, const array< T, N > &rhs)
 Non-member greater or equal operator.
 
template<typename T , std::size_t N>
bool pmem::obj::operator<= (const array< T, N > &lhs, const array< T, N > &rhs)
 Non-member less or equal operator.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_iterator pmem::obj::cbegin (const pmem::obj::array< T, N > &a)
 Non-member cbegin.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_iterator pmem::obj::cend (const pmem::obj::array< T, N > &a)
 Non-member cend.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_reverse_iterator pmem::obj::crbegin (const pmem::obj::array< T, N > &a)
 Non-member crbegin.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_reverse_iterator pmem::obj::crend (const pmem::obj::array< T, N > &a)
 Non-member crend.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::iterator pmem::obj::begin (pmem::obj::array< T, N > &a)
 Non-member begin.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_iterator pmem::obj::begin (const pmem::obj::array< T, N > &a)
 Non-member begin.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::iterator pmem::obj::end (pmem::obj::array< T, N > &a)
 Non-member end.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_iterator pmem::obj::end (const pmem::obj::array< T, N > &a)
 Non-member end.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::reverse_iterator pmem::obj::rbegin (pmem::obj::array< T, N > &a)
 Non-member rbegin.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_reverse_iterator pmem::obj::rbegin (const pmem::obj::array< T, N > &a)
 Non-member rbegin.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::reverse_iterator pmem::obj::rend (pmem::obj::array< T, N > &a)
 Non-member rend.
 
template<typename T , std::size_t N>
pmem::obj::array< T, N >::const_reverse_iterator pmem::obj::rend (const pmem::obj::array< T, N > &a)
 Non-member rend.
 
template<typename T , size_t N>
void pmem::obj::swap (pmem::obj::array< T, N > &lhs, pmem::obj::array< T, N > &rhs)
 Non-member swap function.
 
template<size_t I, typename T , size_t N>
T & pmem::obj::get (pmem::obj::array< T, N > &a)
 Non-member get function.
 
template<size_t I, typename T , size_t N>
T && pmem::obj::get (pmem::obj::array< T, N > &&a)
 Non-member get function.
 
template<size_t I, typename T , size_t N>
const T & pmem::obj::get (const pmem::obj::array< T, N > &a) noexcept
 Non-member get function.
 
template<size_t I, typename T , size_t N>
const T && pmem::obj::get (const pmem::obj::array< T, N > &&a) noexcept
 Non-member get function.
 

Detailed Description

Array container with std::array compatible interface.