News

News

RSS feed
10/20/2024
Boost.MySQL 1.87 features: with_params and with_diagnostics

Easy client-side SQL using with_params In previous posts, we had seen how Boost.MySQL client-side SQL formatting can be used to implement a wide variety of use cases. It was originally created for complex cases, like batch inserts, but it can also be applied for simple ones. Up to Boost 1.86, to retrieve a user by ID with client-side SQL, you could write this: void lookup(mysql::any_connection& conn, int id) { // Compose the query. May generate "SELECT * FROM user WHERE id = 10" ...

Continue Reading
10/11/2024
Joaquín's Q3 2024 Update

During Q3 2024, I’ve been working in the following areas: Boost.Unordered Made visitation exclusive-locked within certain boost::concurrent_flat_set operations to allow for safe mutable modification of elements (PR#265, to be released in Boost 1.87.0). This is relevant for the work on Boost.Flyweight discussed below. Added new concurrent, node-based containers boost::concurrent_node_map and boost::concurrent_node_set (PR#271, to be released in Boost 1.87.0). These containers are, expec...

Continue Reading
09/12/2024
Safe C++ Partnership

Safe C++ Partnership I am happy to announce that the C++ Alliance has formed a partnership with Sean Baxter, a renowned engineer, to develop the Safe C++ Extensions proposal. This is a revolutionary proposal that adds memory safety features to the C++ programming language. This collaboration marks a significant milestone in the C++ ecosystem, as the need for safe code has never been more pressing. With the increasing importance of software security and reliability, developers are facing mo...

Continue Reading
07/15/2024
Krystian's Q2 2024 Update

MrDocs This quarter, my primary focus was on MrDocs. To that end, I’m happy to say that the P0 milestone for MrDocs has been reached! Although the vast majority of the work I did was bug hunting/fixing, I also implemented a novel feature which detects and simplifies types that use the SFINAE idiom. Prior to C++20, the primary mechanism for constraining templates was through use of the SFINAE idiom, e.g.: template<typename T> std::enable_if_t<std::is_pointer_v<T>, T> f(T);...

Continue Reading
07/14/2024
Braden's Q2 2024 Update

Speaking at C++Now At C++Now 2024, I gave my first full-length conference talk, titled “Unit testing an expression template library in C++20”. The slides are up at this link. As of the time of writing, the talk has not yet been uploaded to YouTube. In this talk, I explored the current state of compile-time unit testing in C++ in the well-known unit testing libraries. I also discussed my own methods for unit testing at compile-time. This talk especially focuses on giving helpful diagnostics ...

Continue Reading