PMDK C++ bindings
1.9
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Go to the documentation of this file.
37 #ifndef LIBPMEMOBJ_CPP_UTILS_HPP
38 #define LIBPMEMOBJ_CPP_UTILS_HPP
42 #include <libpmemobj/base.h>
63 auto pop = pmemobj_pool_by_ptr(that);
83 auto pop = pmemobj_pool_by_oid(ptr.raw());
Custom pool error class.
Definition: pexceptions.hpp:74
Persistent memory namespace.
Definition: allocation_flag.hpp:44
pool_base pool_by_pptr(const persistent_ptr< T > ptr)
Retrieve pool handle for the given persistent_ptr.
Definition: utils.hpp:81
Persistent pointer class.
Definition: persistent_ptr.hpp:212
pool_base pool_by_vptr(const T *that)
Retrieve pool handle for the given pointer.
Definition: utils.hpp:61
The non-template pool base class.
Definition: pool.hpp:75
Persistent smart pointer.