cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/

Listing of support macros

The following macros determine what features does cxxomfort implement and whether it does so by forwarding to native facilities or by providing its own forms of emulation.

The possible values for these macros are:

cxxomfort implementation macrorelated __cpp macrosNotes
CXXOMFORT_IMPLEMENTS_static_assert __cpp_static_assert

Has a value other than 0 if the library implements static_assert. Has a value greater than 0 if the extension static_assert0 (omit message) is supported.

CXXOMFORT_IMPLEMENTS_foreach __cpp_range_based_for

Has a value other than 0 if the library implements foreach loop emulation (see CXXO_FOREACH() ).