Tamas Kenez

Results 13 comments of Tamas Kenez

Subtle detail but release lock before notify. See [std::condition_variable::notify_one / Notes](http://en.cppreference.com/w/cpp/thread/condition_variable/notify_one#Notes), 2nd paragraph. ``` void thread1() { do_some_work(); // let others know work is done { std::lock_guard lock(mx); ready =...

In the range-v3 library it is explicitly disallowed to create a range (which is a view) from an rvalue container. Wondering if something similar could be done for string_view. https://ericniebler.github.io/std/wg21/D4128.html#ranges-cannot-own-elements

> The generated Visual Studio projects tends to feel off and departing strongly from VS standards. > I don't know if it is possible with CMake to make nice looking...

@vadz thanks for looking into this, I fixed it, still hits the assertion: ```C++ #include #include #include #include #include int main() { std::filesystem::remove("test.db"); soci::session s(*soci::factory_sqlite3(), "test.db"); s

Hi, I don't know what it could be but I recommend you to create an empty project (minimal CMakeLists and empty `main()`) and start adding back things gradually until you...

This works for me (with apple clang 15) ```C++ int64_t i64 = 0; statement.bind(1, i64); ``` Can you provide more information, code, platform, compiler, actual error?

I see and I agree. I'd simply start with this: ```C++ void SQLite::Statement::bind(int index, long long value) { static_assert(sizeof(long long) == sizeof(int64_t)); bind(index, int64_t(value)); } ``` And improve it only...

@SRombauts There's no such limitation, `sqlite3_bind_blob64` takes `sqlite3_uint64` as size.

I've submitted the CLA and I'll be looking into the build errors.