libsq3 2007.10.18
sq3::sqlite3_stmt_finalizer Struct Reference

A specialized dtor to finalize sqlite3_stmt handles, for use with refcount::rcptr<sqlite3,sqlite3_stmt_finalizer>. More...

#include <sq3.hpp>

Public Member Functions

void operator() (sqlite3_stmt *&t)
 Calls sqlite3_finalize(t) and assigns t to 0.

Detailed Description

A specialized dtor to finalize sqlite3_stmt handles, for use with refcount::rcptr<sqlite3,sqlite3_stmt_finalizer>.

Definition at line 176 of file sq3.hpp.

Member Function Documentation

◆ operator()()

void sq3::sqlite3_stmt_finalizer::operator() ( sqlite3_stmt *& t)

Calls sqlite3_finalize(t) and assigns t to 0.

Definition at line 37 of file sq3.cpp.


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