Registry / database / libpmemobj-cpp

libpmemobj-cpp

JSON →
library1.13.0vcpkgunverified

C++ bindings for libpmemobj, a persistent memory object store.

vcpkg install libpmemobj-cpp
INSTALL
IMPORT
SIG · LIBPMEMOBJ-CPP
L
libpmemobj-cpp
databasecppv1.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

libpmemobj++/pool.hpp
#include <libpmemobj++/pool.hpp>

Create and close a persistent memory pool

#include <libpmemobj++/pool.hpp> #include <iostream> struct root { int value; }; int main() { auto pop = pmem::obj::pool<root>::create("test.pool", "layout", 1024*1024); std::cout << "Pool created\n"; pop.close(); return 0; }
Debug
Known issues
gotchaRequires persistent memory hardware or emulation (e.g., /dev/shm)
fix
Use a filesystem that supports DAX or emulate with tmpfs
affects: *
Upgrade
Version history
1.13.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

libpmemobj-cpp — pip install libpmemobj-cpp · libregistry