9#ifndef HEADER_SQLITEPP_VERSION_IFACE_INCLUDED 
   10#define HEADER_SQLITEPP_VERSION_IFACE_INCLUDED 
   66            unsigned val = _value;
 
   67            unsigned major = val / 1000000;
 
   68            val -= (major * 1000000);
 
   69            unsigned minor = val / 1000;
 
   70            val -= (minor * 1000);
 
   71            unsigned release = val;
 
   72            return {major, minor, release};
 
 
   76        constexpr int value() const noexcept
 
 
  128            { 
return lhs._value == rhs._value; }
 
  130            { 
return lhs._value != rhs._value; }
 
  132    #if defined(DOXYGEN) || __cpp_impl_three_way_comparison >= 201907 
  134            { 
return lhs._value <=> rhs._value; }
 
  137            { 
return lhs._value < rhs._value; }
 
  139            { 
return lhs._value <= rhs._value; }
 
  141            { 
return lhs._value > rhs._value; }
 
  143            { 
return lhs._value >= rhs._value; }
 
 
#define SQLITE_VERSION_NUMBER
 
Representation of SQLite version.
Definition version_iface.hpp:36
 
constexpr sqlite_version(int val)
Construct an instance from an int encoded in SQLite format.
Definition version_iface.hpp:39
 
static sqlite_version runtime() noexcept
Returns the runtime SQLite version.
Definition version_iface.hpp:92
 
constexpr int value() const noexcept
Get the stored SQLite version value.
Definition version_iface.hpp:76
 
static constexpr const char * compile_time_sourceid() noexcept
Returns the compile time SQLite source identifier.
Definition version_iface.hpp:116
 
static constexpr sqlite_version compile_time() noexcept
Returns the compile time SQLite version.
Definition version_iface.hpp:84
 
static constexpr const char * compile_time_str() noexcept
Returns the compile time SQLite version as a string.
Definition version_iface.hpp:100
 
constexpr std::tuple< unsigned, unsigned, unsigned > parts() const noexcept
Break an instance into constituent parts.
Definition version_iface.hpp:64
 
static constexpr sqlite_version from_parts(unsigned major, unsigned minor, unsigned release)
Construct an instance from major, minor, release parts.
Definition version_iface.hpp:42
 
static const char * runtime_sourceid() noexcept
Returns the runtime SQLite source identifier.
Definition version_iface.hpp:124
 
static const char * runtime_str() noexcept
Returns the runtime SQLite version as a string.
Definition version_iface.hpp:107
 
sqlite3_libversion_number
 
ThinSQLite++ namespace.
Definition backup_iface.hpp:17