→
·5 min read
value_ptr — The Missing C++ Smart-Pointer
Use value_ptr to get value semantics on a heap resource. At the cost of some extra copying, your code will be simpler and easier to reason about.
Tag
2 posts tagged with this.
Use value_ptr to get value semantics on a heap resource. At the cost of some extra copying, your code will be simpler and easier to reason about.
A header-only C++ library providing value_ptr — a smart-pointer with value semantics that fills the gap left by unique_ptr, shared_ptr, and weak_ptr.
All tags