NVML C++ bindings
1.1.0
This is the C++ bindings documentation for NVML's libpmemobj.
|
Persistent_ptr allocation functions for arrays. More...
#include "libpmemobj++/detail/array_traits.hpp"
#include "libpmemobj++/detail/check_persistent_ptr_array.hpp"
#include "libpmemobj++/detail/common.hpp"
#include "libpmemobj++/detail/life.hpp"
#include "libpmemobj++/detail/pexceptions.hpp"
#include "libpmemobj/tx_base.h"
Go to the source code of this file.
Functions | |
template<typename T > | |
detail::pp_if_array< T >::type | nvml::obj::make_persistent (std::size_t N) |
Transactionally allocate and construct an array of objects of type T. More... | |
template<typename T > | |
detail::pp_if_size_array< T >::type | nvml::obj::make_persistent () |
Transactionally allocate and construct an array of objects of type T. More... | |
template<typename T > | |
void | nvml::obj::delete_persistent (typename detail::pp_if_array< T >::type ptr, std::size_t N) |
Transactionally free an array of objects of type T held in a persitent_ptr. More... | |
template<typename T > | |
void | nvml::obj::delete_persistent (typename detail::pp_if_size_array< T >::type ptr) |
Transactionally free an array of objects of type T held in a persitent_ptr. More... | |
Persistent_ptr allocation functions for arrays.
The typical usage examples would be: