ThinSQLite++
A thin, safe and convenient modern C++ wrapper for SQLite API.
|
Base functionality for all fake wrapper classes More...
Public Member Functions | |
void | operator delete (void *) noexcept |
Operator delete for a fake pointer is no-op. | |
handle ()=delete | |
You cannot construct it. | |
handle (const handle &)=delete | |
You cannot copy (or move) it. | |
handle & | operator= (const handle &)=delete |
You cannot assign it. | |
T * | c_ptr () const noexcept |
Access the real underlying SQLite type. | |
Static Public Member Functions | |
static Derived * | from (T *obj) noexcept |
Create fake pointer from the underlying SQLite one. | |
Friends | |
T * | c_ptr (const handle< T, Derived > &obj) noexcept |
Access the real underlying SQLite type. | |
T * | c_ptr (const handle< T, Derived > *obj) noexcept |
Access the real underlying SQLite type. | |
Base functionality for all fake wrapper classes
This is a CRTP base class that implements functionality common to all fake wrapper classes.
T | the underlying SQLite type |
Derived | the derived class for CRTP casts |