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

Functions for lifetime management. More...

#include <cstddef>
#include <tuple>
#include <type_traits>
#include <utility>
#include <libpmemobj++/detail/array_traits.hpp>
#include <libpmemobj++/detail/integer_sequence.hpp>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pmem
 Persistent memory namespace.
 
 pmem::detail
 Implementation details.
 

Functions

template<typename T , typename... Args>
void pmem::detail::create (typename if_not_array< T >::type *ptr, Args &&... args)
 
template<typename T , typename... Args>
void pmem::detail::create (typename if_size_array< T >::type *ptr, Args &&... args)
 
template<typename T , size_t... Indices, typename Tuple >
void pmem::detail::create_from_tuple (void *ptr, index_sequence< Indices... >, Tuple tuple)
 
template<typename T , typename Tuple , typename... Args>
int pmem::detail::c_style_construct (void *ptr, void *arg)
 
template<typename T , typename = typename std::enable_if< !std::is_trivially_destructible<T>::value>::type>
void pmem::detail::destroy (typename if_not_array< T >::type &arg)
 
template<typename T , typename dummy = void, typename = typename std::enable_if< std::is_trivially_destructible<T>::value>::type>
void pmem::detail::destroy (typename if_not_array< T >::type &)
 
template<typename T >
void pmem::detail::destroy (typename if_size_array< T >::type &arg)
 

Detailed Description

Functions for lifetime management.