Tech Tutorials Database
GeekArticles Programming C++
 

ptr_to_unique, extending std::unique_ptr to support weak secondary smart pointers

 
Author: codeproject.com
Category: C++
Comments (0)

A smart pointer to an object already owned by a unique_ptr. It own the object but it self zeroes when the object is deleted so that it can never dangle.

Read More...




Sponsored Links




Read Next: Multithreading in C++


 

 

Comments