Conversation
Fix #430 for a better support of standard containers Also add a couple of tests (not covering all variants)
|
It's not a "real-life issue" since SQLiteCpp can only bind a blob with a size in int. |
|
I am currently using this great library. Thank you for this! One issue I'm running into is binding a blob breaks the variadic binding possiblity, because it requires two parameters, not one. So I would like to introduce a new struct // [...]
struct Blob {
const void *ptr;
std::size_t size;
};
SQLite::bind(st, "ABC", 2, SQLite::Blob{"def", 3});I think this would perfectly fit in this PR, what do you think? |
|
@SRombauts do you think this will ever get merged (in addition to my comment?) |
|
I am going to release a new version, and then I'll update the baseline c++ versions, make the code cleaner and allow breaking APIs |
Fix #430 for a better support of standard containers
Also add a couple of tests (not covering all variants)