Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::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 nix::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: