persistent_ptr const void specialization.
More...
#include <libpmemobj++/persistent_ptr.hpp>
|
typedef const void | element_type |
|
typedef persistent_ptr< const void > | this_type |
|
persistent_ptr const void specialization.
It's truncated specialization to disallow some of the (unnecessary) functionalities.
◆ persistent_ptr_base()
pmem::obj::persistent_ptr_base::persistent_ptr_base |
|
inlinenoexcept |
PMEMoid constructor.
Provided for easy interoperability between C++ and C API's.
- Parameters
-
oid | C-style persistent pointer |
◆ raw()
const PMEMoid& pmem::obj::persistent_ptr_base::raw |
( |
| ) |
const |
|
inlinenoexceptinherited |
Get PMEMoid encapsulated by this object.
For C API compatibility.
- Returns
- const reference to the PMEMoid
◆ raw_ptr()
PMEMoid* pmem::obj::persistent_ptr_base::raw_ptr |
( |
| ) |
|
|
inlinenoexceptinherited |
Get pointer to PMEMoid encapsulated by this object.
For C API compatibility.
- Returns
- pointer to the PMEMoid
◆ swap()
The documentation for this class was generated from the following file: