Automatically toggle a bool on each reference.
More...
#include <counter.h>
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.
◆ toggle()
ucommon::toggle::toggle |
( |
| ) |
|
|
inline |
◆ operator bool()
ucommon::toggle::operator bool |
( |
| ) |
|
|
inline |
◆ operator*()
bool ucommon::toggle::operator* |
( |
| ) |
|
|
inline |
◆ operator=()
void ucommon::toggle::operator= |
( |
bool | v | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ucommon-7.0.0-build/ucommon-7.0.0/inc/ucommon/counter.h