Horizon
Loading...
Searching...
No Matches
Classes | Functions
scope_exit.hpp File Reference
#include <functional>
#include <type_traits>
#include <utility>
#include <meta/meta.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Classes

struct  ranges::scope_exit< Fun >
 

Functions

template<typename Fun , typename ScopeExit = scope_exit<meta::_t<std::decay<Fun>>>>
ScopeExit ranges::make_scope_exit (Fun &&fun) noexcept(noexcept(ScopeExit(ScopeExit((Fun &&) fun))))