libsq3 2007.10.18
sq3::sqlite3_finalizer Struct Reference

A specialized dtor to close sqlite3 handles, for use with refcount::rcptr<sqlite3,sqlite3_finalizer >. More...

#include <sq3.hpp>

Public Member Functions

void operator() (sqlite3 *&t)
 Calls sqlite3_close(t) and assigns t to 0.
 

Detailed Description

A specialized dtor to close sqlite3 handles, for use with refcount::rcptr<sqlite3,sqlite3_finalizer >.

Definition at line 136 of file sq3.hpp.

Member Function Documentation

◆ operator()()

void sq3::sqlite3_finalizer::operator() ( sqlite3 *& t)

Calls sqlite3_close(t) and assigns t to 0.

Definition at line 46 of file sq3.cpp.


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