SQLite Forum

sqlite3_carray_bind and constness
Login
sqlite3_carray_bind is using a non const pointer which is forcing a copy if you
use const data. You can cast to non const but then you are in undefined behavior area. A const version like sqlite3_const_carray_bind could prevent bugs in that erroneous usage. Or is there an other way?