Skip to content

Class scope_exit

template <class F>

ClassList > scope_exit

  • #include <scope_exit.hpp>

Public Types

Type Name
typedef std::decay_t< F > fun_t

Public Functions

Type Name
constexpr bool engaged () noexcept const
scope_exit & operator= (const scope_exit &) = delete
scope_exit & operator= (scope_exit &&) = delete
constexpr void release () noexcept
constexpr scope_exit (F && f) noexcept
scope_exit (const scope_exit &) = delete
constexpr scope_exit (scope_exit && other) noexcept
~scope_exit () noexcept

Public Types Documentation

typedef fun_t

using scope_exit< F >::fun_t =  std::decay_t<F>;

Public Functions Documentation

function engaged

inline constexpr  bool scope_exit::engaged () noexcept const

function operator=

scope_exit & scope_exit::operator= (
    const  scope_exit &
) = delete

function operator=

scope_exit & scope_exit::operator= (
    scope_exit &&
) = delete

function release

inline constexpr  void scope_exit::release () noexcept

function scope_exit [1/3]

inline explicit constexpr scope_exit::scope_exit (
    F && f
) noexcept

function scope_exit [2/3]

scope_exit::scope_exit (
    const  scope_exit &
) = delete

function scope_exit [3/3]

inline constexpr scope_exit::scope_exit (
    scope_exit && other
) noexcept

function ~scope_exit

inline scope_exit::~scope_exit () noexcept


The documentation for this class was generated from the following file cubrid/src/base/scope_exit.hpp