1#include <pqxx/internal/callgate.hxx>
3namespace pqxx::internal::gate
5class PQXX_PRIVATE result_connection : callgate<result const>
7 friend class pqxx::connection;
11 operator bool()
const {
return bool(
home()); }
12 bool operator!()
const {
return not
home(); }
reference home() const noexcept
The home object. The gate class has full "private" access.
Definition callgate.hxx:65
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition callgate.hxx:60
callgate< HOME > super
This class, to keep constructors easy.
Definition callgate.hxx:58