NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nonstd::scope::scope_exit< Fn > Class Template Reference

#include <scope-lite.hpp>

Inheritance diagram for nonstd::scope::scope_exit< Fn >:
Collaboration diagram for nonstd::scope::scope_exit< Fn >:

Public Member Functions

 scope_exit (Fn action)
 
- Public Member Functions inherited from nonstd::scope::scope_guard< on_exit_policy, Fn >
 scope_guard (Fn action)
 
 scope_guard (scope_guard const &other)
 
virtual ~scope_guard ()
 
- Public Member Functions inherited from nonstd::scope::on_exit_policy
 on_exit_policy ()
 
 on_exit_policy (on_exit_policy const &other)
 
void release ()
 
bool perform ()
 

Additional Inherited Members

- Public Attributes inherited from nonstd::scope::on_exit_policy
bool invoke_
 

Detailed Description

template<typename Fn = void(*)()>
class nonstd::scope::scope_exit< Fn >

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

Constructor & Destructor Documentation

◆ scope_exit()

template<typename Fn = void(*)()>
nonstd::scope::scope_exit< Fn >::scope_exit ( Fn  action)
inline

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


The documentation for this class was generated from the following file: