mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
14 lines
354 B
C++
14 lines
354 B
C++
#include <pqxx/internal/callgate.hxx>
|
|
|
|
namespace pqxx::internal::gate
|
|
{
|
|
class PQXX_PRIVATE result_connection : callgate<result const>
|
|
{
|
|
friend class pqxx::connection;
|
|
|
|
result_connection(reference x) : super(x) {}
|
|
|
|
operator bool() const { return bool(home()); }
|
|
bool operator!() const { return not home(); }
|
|
};
|
|
} // namespace pqxx::internal::gate
|