ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
ALib and the C++ Preprocessor

Naming scheme

All preprocessor symbols and macros are prefixed with "ALIB_". Most symbols then continue with the name of the ALib Module that uses/defines them. One important exception to this naming scheme is the symbols defined by module ALox, which are prefixed "ALOX_".

ALib Compiler Symbols

Compiler symbols are used to select different versions of code, dependent on

  • the platform,
  • the build type (e.g., debug or release-builds),
  • ALib module selection and
  • ALIb feature selection.

This documentation often refers to such symbols as "code selection symbols". Many of the symbols can be passed to the compiler to overwrite their default value. This is usually done with the -D-option of a compiler's invocation command.

Besides the internal use to select ALib library code, the symbols can be used with custom code for the same purpose. This is especially necessary if a custom software is designed to work with different ALib Distributions and different optional feature sets of ALib.

All symbols are documented with:

       ALib Compiler Symbols

ALib Macros

Preprocessor macros, which expand given arguments to more complex code, are given with

       ALib Preprocessor Macros