from Hacker News

Show HN: Libzdb – C Database Connection Pool library now with C++20 API

by sovande on 7/23/24, 1:55 AM with 0 comments

I've updated an old C Database Connection Pool library (previously shared on HN) with a new C++20 API. This project was my foray into modern C++, and I'm hoping the community finds it useful and that the C++ code meets modern standards.

The intro to the C++ API for the library is here: https://tildeslash.com/libzdb/api-docs/zdbpp_8h.html

Feedback on the C++ implementation is welcome, especially from those experienced with modern C++. I'm particularly interested in thoughts on the API design and use of C++20 features.