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

Classes

class  Bump

Public Member Functions

 NotifyingCounter (std::function< void()> notify, T initial=0)
 NotifyingCounter (const NotifyingCounter &)=delete
NotifyingCounter & operator= (const NotifyingCounter &)=delete
 NotifyingCounter (NotifyingCounter &&)=delete
NotifyingCounter & operator= (NotifyingCounter &&)=delete
get () const
 operator T () const
void add (T delta)
NotifyingCounter & operator+= (T delta)
NotifyingCounter & operator++ (int)
Bump addTemporarily (T delta)

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