SQLiteC++ 2.0.0
SQLiteC++ 2.0.0 is out, a bit over a year after 1.0.0. The major version bump is there because a few APIs changed in incompatible ways, but the interesting part is what changed under the hood.
Highlights:
sqlite3.his no longer included from the public headers. The wrapper forward-declares what it needs, so your code can use SQLiteC++ without pulling the SQLite C header into your own include path.- New
Statement::bindNoCopy()methods that passSQLITE_STATICto SQLite, avoiding an internal copy of the bound string or blob when you can guarantee the buffer outlives the statement. - Variadic-template
bind()to bind several parameters in a single call. Database::VERSIONfor the SQLiteC++ version known at compile time, plusgetLibVersion()andgetLibVersionNumber()for the SQLite version at runtime.- Clearer exception messages, a
uint32_tbind withColumn::getUint(), and the bundled SQLite updated to 3.13.
Code, documentation and examples on GitHub: github.com/SRombauts/SQLiteCpp.
Next milestone: SQLiteC++ 3.0.0.
note: 1