libpqxx
The C++ client library for PostgreSQL
errorhandler-connection.hxx
Go to the documentation of this file.
2 
3 namespace pqxx::internal::gate
4 {
5 class PQXX_PRIVATE errorhandler_connection final : callgate<errorhandler>
6 {
7  friend class pqxx::connection;
8 
9  constexpr errorhandler_connection(reference x) noexcept : super(x) {}
10 
11  void unregister() noexcept { home().unregister(); }
12 };
13 } // namespace pqxx::internal::gate
Connection to a database.
Definition: connection.hxx:269
Definition: errorhandler.hxx:46
Base class for call gates.
Definition: callgate.hxx:55
Definition: errorhandler-connection.hxx:6
#define PQXX_PRIVATE
Definition: header-pre.hxx:206
Definition: connection.hxx:94