jtv / libpqxx

The official C++ client API for PostgreSQL.
http://pqxx.org/pqxx/
BSD 3-Clause "New" or "Revised" License
963 stars 228 forks source link

Move config check to compile time. Support `assume`. #805

Closed jtv closed 2 months ago

jtv commented 3 months ago

Regenerate configure script etc. for bumped version 7.9.1.

Move the check for whether the compiler supports the likely and unlikely attributes from configure-time to build-time. This will save the configure script one compile step.

Add support for C++23 assume attribute. I'll have to look in more places for opportunities to make actual use of it.