value_ptr — The Missing C++ Smart-pointer
Too Long; Didn't Read
Use the <code class="markup--code markup--p-code">value_ptr</code> smart-pointer 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.