Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
Finally< Fn > Class Template Reference

#include <finally.hh>

Public Member Functions

 Finally (Fn fun)
 
 Finally (Finally &other)=delete
 
 Finally (Finally &&other) noexcept(std::is_nothrow_move_constructible_v< Fn >)
 

Detailed Description

template<typename Fn>
class Finally< Fn >

A trivial class to run a function at the end of a scope.


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