Home
last modified time | relevance | path

Searched refs:_SmartPtr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dinout_ptr.h67 using _SmartPtr = __pointer_of_or_t<_Smart, _Pointer>; in ~inout_ptr_t() local
69 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t()
72 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~inout_ptr_t()
75 static_assert(is_constructible_v<_Smart, _SmartPtr, _Args...>, in ~inout_ptr_t()
77 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t()
H A Dout_ptr.h62 using _SmartPtr = __pointer_of_or_t<_Smart, _Pointer>; in ~out_ptr_t() local
64 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~out_ptr_t()
67 static_assert(is_constructible_v<_Smart, _SmartPtr, _Args...>, in ~out_ptr_t()
69 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~out_ptr_t()