28 #if !defined(MYSQLPP_AUTOFLAG_H)
29 #define MYSQLPP_AUTOFLAG_H
37 template <
class T =
bool>
A template for setting a flag on a variable as long as the object that set it is in scope....
Definition: autoflag.h:39
AutoFlag(T &ref)
Constructor: sets ref to true.
Definition: autoflag.h:42
~AutoFlag()
Destructor: sets referent passed to ctor to false.
Definition: autoflag.h:49