9#ifndef STLAB_MEMORY_HPP
10#define STLAB_MEMORY_HPP
19#include <stlab/config.hpp>
24STLAB_VERSION_NAMESPACE_BEGIN()
36 return std::weak_ptr<T>(x);
43STLAB_VERSION_NAMESPACE_END()
auto make_weak_ptr(const std::shared_ptr< T > &x)
Returns a std::weak_ptr<T> sharing ownership with x.
Definition memory.hpp:35
Definition reverse.hpp:28