|
stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
|
Small memory-related utilities (make_weak_ptr). More...
#include <memory>#include <stlab/config.hpp>Go to the source code of this file.
Functions | |
| template<typename T> | |
| auto | stlab::make_weak_ptr (const std::shared_ptr< T > &x) |
| Returns a std::weak_ptr<T> sharing ownership with x. | |
Small memory-related utilities (make_weak_ptr).