Berkeley DB comes with C and C++ APIs. Unfortunately, the C++ API is a thin wrapper neglecting modern C++ designs, such as smart pointers, I/O streams, iterators, operator overloading, etc.. STLdb4 makes C++ programming with Berkeley DB simpler.
- Programmer’s Dozen: Thirteen Recommendations for Reviewing, Refactoring, and Regaining Control of C++ Code
- In the MOOD: Modern Object-Oriented Design in C++
GNU Nana is a free library providing improved support for assertion checking (as in assert.h) and logging (printf style debugging) in GNU C and C++. It provides support for some of the ideas of Eiffel, VDM, Z and Anna in GNU C/C++.
I’ve begun playing a bit with the Ux library from Marc Rochkind‘s book: Advanced UNIX Programming. Ux, recently mentioned by Bruce as well, is essentially a bunch of C++ wrappers for standard POSIX calls.
Unfortunately, it didn’t build cleanly out of the box. I had to make a number of changes to Ux to get it to compile on my Ubuntu Dapper Drake Linux system with gcc-3.4 and gcc-4.0…