Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::MaintainCount< T > Struct Template Reference

#include <util.hh>

Public Member Functions

 MaintainCount (T &counter, long delta=1)
 

Public Attributes

T & counter
 
long delta
 

Detailed Description

template<typename T>
struct nix::MaintainCount< T >

A RAII helper that increments a counter on construction and decrements it on destruction.


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