|
cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Macros used to control cxxomfort's behaviour
CXXOFLAG_NO_STD_USING - tells the compiler to avoid adding names to namespace std where possible.CXXOFLAG_USE_INTERNAL_TR1 - tells the compiler to use its own TR1 implementation.CXXOFLAG_NONOMINMAX - tells the compiler to not define NOMINMAX in Visual C++ where possible.CXXOFLAG_WITHOUT_LONGLONG - tells the library that long long is not available (works only in pre-C++11 mode). CXXOMFORT_NOTICES - controls log level. Defined as a numeric value, larger values increase the level of verbosity.When CXXOMFORT_NOTICES is defined:
1 will output basic notifications about library status and detected compiler, as well as detected C++ version.2 will also output notifications about what headers are being backported, and what fixes is the library adding for known issues (see cxxomfort-fix ).3 or above will also output notifications about specific features being added or adjusted depending on each header.CXXOFLAG_USE_INTERNAL_TR1 - can be used in pre-C++03 to make cxxomfort also include backports for some stuff in TR1 like array .In this release, cxxomfort's internal TR1 covers the following six components:
array<T,N>reference_wrapper, ref() , cref() mem_fn() (partial)bind() (partial)tuple<T1,...> (partial) (up to 5 elements), make_tuple() , tie() , get() .type_traitsFor macros that pertain to code generation see default-ctor .
1.8.13