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)
 operator bool ()
bool operator* ()
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 126 of file counter.h.


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