postgres++ is a thin libpq wrapper that aims to make libpq easier to use.