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());
Persistent pointer class.
Definition: common.hpp:125
The non-template pool base class.
Definition: pool.hpp:67
Custom pool error class.
Definition: pexceptions.hpp:72
pool_base pool_by_pptr(const persistent_ptr< T > ptr)
Retrieve pool handle for the given persistent_ptr.
Definition: utils.hpp:81
pool_base pool_by_vptr(const T *that)
Retrieve pool handle for the given pointer.
Definition: utils.hpp:61
Persistent smart pointer.
const PMEMoid & raw() const noexcept
Get PMEMoid encapsulated by this object.
Definition: persistent_ptr_base.hpp:304
A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509....
Definition: allocation_flag.hpp:43