Open
Description
The declaration of those constants currently looks like this:
namespace SQLite
{
extern const int INTEGER; ///< SQLITE_INTEGER
extern const int FLOAT; ///< SQLITE_FLOAT
extern const int TEXT; ///< SQLITE_TEXT
extern const int BLOB; ///< SQLITE_BLOB
extern const int Null; ///< SQLITE_NULL
This renders them unusable in contexts that require a constant expression, such as a switch
statements. Declaring them constexpr
and assigning a value inside the header should fix this.