Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__utility/
H A Dscope_guard.h26 class __scope_guard {
30 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR explicit __scope_guard(_Func __func) : __func_(std::move(_… in __scope_guard() function
31 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__scope_guard() { __func_(); } in ~__scope_guard()
33 __scope_guard(const __scope_guard&) = delete;
34 __scope_guard& operator=(const __scope_guard&) = delete;
35 __scope_guard& operator=(__scope_guard&&) = delete;
40 __scope_guard(__scope_guard&&);
42 __scope_guard(__scope_guard&&) = delete;
47 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 __scope_guard<_Func> __make_scope_guard(_Func _… in __make_scope_guard()
48 return __scope_guard<_Func>(std::move(__func)); in __make_scope_guard()