#include <noexceptions.h>
Collaboration diagram for mysqlpp::NoExceptions:
Public Member Functions | |
NoExceptions (const OptionalExceptions &a) | |
Constructor. | |
~NoExceptions () | |
Destructor. |
This class was designed to be created on the stack, taking a reference to a subclass of OptionalExceptions. (We call that our "associate" object.) On creation, we save that object's current exception state, and disable exceptions. On destruction, we restore our associate's previous state.
mysqlpp::NoExceptions::NoExceptions | ( | const OptionalExceptions & | a | ) | [inline] |
Constructor.
Takes a reference to an OptionalExceptions derivative, saves that object's current exception state, and disables exceptions.
mysqlpp::NoExceptions::~NoExceptions | ( | ) | [inline] |
Destructor.
Restores our associate object's previous exception state.