libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
result-connection.hxx
1#include <pqxx/internal/callgate.hxx>
2
3namespace pqxx::internal::gate
4{
5class PQXX_PRIVATE result_connection : callgate<result const>
6{
7 friend class pqxx::connection;
8
10
11 operator bool() const { return bool(home()); }
12 bool operator!() const { return not home(); }
13};
14} // namespace pqxx::internal::gate
Base class for call gates.
Definition callgate.hxx:55
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition callgate.hxx:60
Definition result-connection.hxx:6