Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::MaintainCount< T > Struct Template Reference

#include <types.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: