OGLplus  (0.59.0) a C++ wrapper for rendering APIs

scope_exit.hpp File Reference
#include "callable_ref.hpp"
#include "nothing.hpp"
#include <exception>
#include <type_traits>

Go to the source code of this file.

Classes

class  eagine::on_scope_exit< OnException >
 Class executing a specified action on scope exit. More...
 
class  eagine::func_on_scope_exit< Func, OnException >
 Class storing a callable object and an instance of on_scope_exit. More...
 

Namespaces

 eagine
 Common code is placed in this namespace.
 

Functions

template<typename Func >
static auto eagine::finally (Func func) -> func_on_scope_exit< Func >
 Function constructing on-scope-exit actions. More...
 

Detailed Description

Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt


Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).