pqxx::internal::refcount Class Reference

#include <util.hxx>

List of all members.

Public Member Functions

 refcount ()
 ~refcount ()
void makeref (refcount &) PQXX_NOEXCEPT
 Create additional reference based on existing refcount object.
bool loseref () PQXX_NOEXCEPT
 Drop this reference; return whether we were the last reference.

Detailed Description

Helper class used in reference counting (doubly-linked circular list) Reference-counted smart-pointer for libpq-allocated resources.


Constructor & Destructor Documentation

pqxx::internal::refcount::refcount (  ) 
pqxx::internal::refcount::~refcount (  ) 

References loseref().


Member Function Documentation

bool pqxx::internal::refcount::loseref (  ) 

Drop this reference; return whether we were the last reference.

Referenced by ~refcount().

void pqxx::internal::refcount::makeref ( refcount rhs  ) 

Create additional reference based on existing refcount object.


The documentation for this class was generated from the following files:

Generated on 17 Mar 2017 for libpqxx by  doxygen 1.6.1