libpmemobj-cpp icon indicating copy to clipboard operation
libpmemobj-cpp copied to clipboard

FEAT: allow using persistent_ptr<const T>

Open igchor opened this issue 5 years ago • 0 comments

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.

igchor avatar Jul 15 '20 11:07 igchor