libpqxx
The C++ client library for PostgreSQL
result-connection.hxx
1 #include <pqxx/internal/callgate.hxx>
2 
3 namespace pqxx::internal::gate
4 {
5 class 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
result const & reference
A reference to the host class. Helps keep constructors easy.
Definition: callgate.hxx:60
Definition: connection.hxx:106
Base class for call gates.
Definition: callgate.hxx:54
Definition: result-connection.hxx:5
Connection to a database.
Definition: connection.hxx:278