PMDK C++ bindings
1.2.0
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Persistent_ptr atomic allocation functions for objects. More...
#include "libpmemobj++/detail/check_persistent_ptr_array.hpp"
#include "libpmemobj++/detail/common.hpp"
#include "libpmemobj++/detail/make_atomic_impl.hpp"
#include "libpmemobj++/detail/pexceptions.hpp"
#include "libpmemobj++/pool.hpp"
#include "libpmemobj/atomic_base.h"
#include <tuple>
Go to the source code of this file.
Functions | |
template<typename T , typename... Args> | |
void | pmem::obj::make_persistent_atomic (pool_base &pool, typename detail::pp_if_not_array< T >::type &ptr, Args &&...args) |
Atomically allocate and construct an object. More... | |
template<typename T > | |
void | pmem::obj::delete_persistent_atomic (typename detail::pp_if_not_array< T >::type &ptr) noexcept |
Atomically deallocate an object. More... | |
Persistent_ptr atomic allocation functions for objects.
The typical usage examples would be: