libpqxx
5.0
|
#include <util.hxx>
Public Member Functions | |
refcount () | |
~refcount () | |
void | makeref (refcount &) PQXX_NOEXCEPT |
Create additional reference based on existing refcount object. More... | |
bool | loseref () PQXX_NOEXCEPT |
Drop this reference; return whether we were the last reference. More... | |
Helper class used in reference counting (doubly-linked circular list) Reference-counted smart-pointer for libpq-allocated resources.
pqxx::internal::refcount::refcount | ( | ) |
pqxx::internal::refcount::~refcount | ( | ) |
bool pqxx::internal::refcount::loseref | ( | ) |
Drop this reference; return whether we were the last reference.
void pqxx::internal::refcount::makeref | ( | refcount & | rhs | ) |
Create additional reference based on existing refcount object.