UCommon
Public Member Functions
ucommon::toggle Class Reference

Automatically toggle a bool on each reference. More...

#include <counter.h>

Public Member Functions

bool get (void)
 
bool operator * ()
 
 operator bool ()
 
void operator= (bool v)
 

Detailed Description

Automatically toggle a bool on each reference.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org

Definition at line 131 of file counter.h.


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