32 #if !defined(MYSQLPP_SCOPEDCONNECTION_H)
33 #define MYSQLPP_SCOPEDCONNECTION_H
39 #if !defined(DOXYGEN_IGNORE)
41 class MYSQLPP_EXPORT Connection;
42 class MYSQLPP_EXPORT ConnectionPool;
62 #if __cplusplus >= 201103L
83 operator void*()
const {
return connection_; }
86 #if __cplusplus < 201103L
Manages a pool of connections for programs that need more than one Connection object at a time,...
Definition: cpool.h:69
Manages the connection to the database server.
Definition: connection.h:60
Grabs a Connection from a ConnectionPool on construction and releases it back to the pool on destruct...
Definition: scopedconnection.h:49
Connection & operator*() const
Dereference.
Definition: scopedconnection.h:80
Connection * operator->() const
Access the Connection pointer.
Definition: scopedconnection.h:77
This file includes top-level definitions for use both internal to the library, and outside it....