NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nonstd::scope Namespace Reference

Namespaces

 std11
 
 std14
 
 std17
 
 std20
 

Classes

class  enabler
 
struct  on_exit_policy
 
struct  on_fail_policy
 
struct  on_success_policy
 
class  scope_exit
 
class  scope_fail
 
class  scope_guard
 
class  scope_success
 
class  unique_resource
 

Functions

template<class EF >
scope_exit< EF > make_scope_exit (EF action)
 
template<class EF >
scope_fail< EF > make_scope_fail (EF action)
 
template<class EF >
scope_success< EF > make_scope_success (EF action)
 
template<class R , class D , class S >
unique_resource< typename std11::decay< R >::type, typename std11::decay< D >::type > make_unique_resource_checked (R const &resource, S const &invalid, D const &deleter)
 

Function Documentation

◆ make_scope_exit()

◆ make_scope_fail()

template<class EF >
scope_fail<EF> nonstd::scope::make_scope_fail ( EF  action)

◆ make_scope_success()

template<class EF >
scope_success<EF> nonstd::scope::make_scope_success ( EF  action)

Definition at line 1408 of file scope-lite.hpp.

Referenced by make_unique_resource_checked().

◆ make_unique_resource_checked()

template<class R , class D , class S >
unique_resource< typename std11::decay<R>::type , typename std11::decay<D>::type> nonstd::scope::make_unique_resource_checked ( R const &  resource,
S const &  invalid,
D const &  deleter 
)