NVML C++ bindings
1.1.0
This is the C++ bindings documentation for NVML's libpmemobj.
|
Persistent_ptr transactional allocation functions for objects. More...
#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"
#include <new>
#include <utility>
Go to the source code of this file.
Functions | |
template<typename T , typename... Args> | |
detail::pp_if_not_array< T >::type | nvml::obj::make_persistent (Args &&...args) |
Transactionally allocate and construct an object of type T. More... | |
template<typename T > | |
void | nvml::obj::delete_persistent (typename detail::pp_if_not_array< T >::type ptr) |
Transactionally free an object of type T held in a persitent_ptr. More... | |
Persistent_ptr transactional allocation functions for objects.
The typical usage examples would be: