Template Struct Defer

Struct Documentation

template<typename Fn>
struct Defer

Public Functions

inline constexpr Defer (Fn _fn) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< Fn >))
Defer(Defer const&) = delete
Defer (Defer &&) VEG_NOEXCEPT=delete
auto operator=(Defer const&) -> Defer& = delete
auto operator= (Defer &&) VEG_NOEXCEPT -> Defer &=delete
VEG_INLINE ~Defer () VEG_NOEXCEPT_IF(VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_fn_once< Fn

Public Members

Fn fn
VEG_INLINE void  {VEG_FWD(fn)()