810 B
810 B
[out.ptr]
20 Memory management library [mem]
20.3 Smart pointers [smartptr]
20.3.4 Smart pointer adaptors [smartptr.adapt]
20.3.4.2 Function template out_ptr [out.ptr]
template<class Pointer = void, class Smart, class... Args> constexpr auto out_ptr(Smart& s, Args&&... args);
Let P be Pointer if is_void_v is false, otherwise POINTER_OF(Smart).
Returns: out_ptr_t<Smart, P, Args&&...>(s, std::forward(args)...).