nngn
Loading...
Searching...
No Matches
scoped.h File Reference
#include <type_traits>
#include <utility>
#include "delegate.h"
#include "utils.h"
Include dependency graph for scoped.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nngn::scoped< T, F, Args >
 

Namespaces

namespace  nngn
 
namespace  nngn::detail
 

Macros

#define NNGN_SCOPED(...)   NNGN_ANON_DECL(nngn::make_scoped(__VA_ARGS__))
 

Typedefs

template<typename T , typename F , typename ... Args>
using nngn::detail::scoped_base
 

Functions

template<typename F , typename ... Ts>
auto nngn::make_scoped (F &&f, Ts &&...ts)
 
template<typename T , typename F , typename ... Ts>
auto nngn::make_scoped_obj (T &&t, F &&f, Ts &&...ts)
 

Macro Definition Documentation

◆ NNGN_SCOPED

#define NNGN_SCOPED ( ...)    NNGN_ANON_DECL(nngn::make_scoped(__VA_ARGS__))