  | 
  
    USRP Hardware Driver and USRP Manual
    Version: 4.4.0.HEAD-0-g5fac246b
    
   UHD and USRP Manual 
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.
   12 namespace uhd { 
namespace utils {
 
   25     using uptr      = std::unique_ptr<scope_exit>;
 
   42     scope_exit(std::function<
void(
void)>&& exit_cb)
 
   43         : _exit_cb(std::forward<std::function<void(void)>>(exit_cb))
 
   48     std::function<void(
void)> _exit_cb;
 
  
 
std::unique_ptr< scope_exit > uptr
Definition: scope_exit.hpp:25
 
Definition: build_info.hpp:12
 
std::function< void(void)> exit_cb_t
Definition: scope_exit.hpp:26
 
static uptr make(exit_cb_t &&exit_cb)
Definition: scope_exit.hpp:30
 
Definition: scope_exit.hpp:22
 
~scope_exit()
Definition: scope_exit.hpp:36