libpmemobj-cpp
libpmemobj-cpp copied to clipboard
FEAT: allow using persistent_ptr<const T>
FEAT: persistent_ptr<const T>
Rationale
Due to current implementation of persistent_ptr and detail/destroy it's not possible to use peristent_ptr<const T>. The compilation fails on make_persistent.
API Changes
None
Implementation details
Need to change some internal methods to support const values.