|
PMDK C++ bindings
1.12-git53.g67ba2be4
This is the C++ bindings documentation for PMDK's libpmemobj.
|
persistent_ptr void specialization. More...
#include <libpmemobj++/persistent_ptr.hpp>
Public Member Functions | |
| persistent_ptr_base () noexcept | |
| Default constructor, zeroes the PMEMoid. | |
| persistent_ptr_base (PMEMoid oid) noexcept | |
| PMEMoid constructor. More... | |
| persistent_ptr_base (persistent_ptr_base &&r) noexcept | |
| Move constructor. | |
Public Member Functions inherited from pmem::obj::persistent_ptr_base | |
| persistent_ptr_base () noexcept | |
| Default constructor, zeroes the PMEMoid. | |
| persistent_ptr_base (PMEMoid oid) noexcept | |
| PMEMoid constructor. More... | |
| persistent_ptr_base (persistent_ptr_base &&r) noexcept | |
| Move constructor. | |
| persistent_ptr_base & | operator= (persistent_ptr_base &&r) |
| Move assignment operator. | |
| persistent_ptr_base & | operator= (persistent_ptr_base const &r) |
| Assignment operator. More... | |
| persistent_ptr_base & | operator= (std::nullptr_t &&) |
| Nullptr move assignment operator. More... | |
| void | swap (persistent_ptr_base &other) |
| Swaps two persistent_ptr objects of the same type. More... | |
| const PMEMoid & | raw () const noexcept |
| Get PMEMoid encapsulated by this object. More... | |
| PMEMoid * | raw_ptr () noexcept |
| Get pointer to PMEMoid encapsulated by this object. More... | |
persistent_ptr void specialization.
It's truncated specialization to disallow some of the (unnecessary) functionalities.
|
inlinenoexcept |
PMEMoid constructor.
Provided for easy interoperability between C++ and C API's.
| oid | C-style persistent pointer |