paint-brush
value_ptr — The Missing C++ Smart-pointerby@buckaroo.pm
12,392 reads
12,392 reads

value_ptr — The Missing C++ Smart-pointer

by Buckaroo - C/C++ PackageMay 25th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.
featured image - value_ptr — The Missing C++ Smart-pointer
Buckaroo - C/C++ Package HackerNoon profile picture
Buckaroo - C/C++ Package

Buckaroo - C/C++ Package

@buckaroo.pm

L O A D I N G
. . . comments & more!

About Author

Buckaroo - C/C++ Package HackerNoon profile picture
Buckaroo - C/C++ Package@buckaroo.pm

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite