Wikipedia
LiteSQL
LiteSQL is an open-source C++ Object Relational Mapping persistence library for UNIXes, Mac OS X and Windows with support for SQLite3, PostgreSQL, MySQL and Oracle as backends.
LiteSQL creates tables, indexes and sequences to database and upgrades schema when needed. In addition to object persistence, LiteSQL provides object relations which can be used to model basic OO building blocks (aggregation, composition, association). Objects can be selected, filtered and ordered using template- and class-based API with type checking at compile time.
The Data-Mapping is described in an xml-File.