stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
Loading...
Searching...
No Matches
memory

Detailed Description

Small memory-related utilities (make_weak_ptr).

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.