Spicy
Public Member Functions | Public Attributes | List of all members
hilti::rt::scope_exit< EF > Struct Template Reference

#include <util.h>

Public Member Functions

 scope_exit (EF &&f) noexcept
 
 scope_exit (const scope_exit &)=delete
 
 scope_exit (scope_exit &&)=delete
 

Public Attributes

EF _f
 

Detailed Description

template<typename EF>
struct hilti::rt::scope_exit< EF >

Clone of std::experimental::scope_exit that calls an exit function on destruction.


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