… | |
… | |
110 | =item ECB_CPP11, ECB_CPP14, ECB_CPP17 |
110 | =item ECB_CPP11, ECB_CPP14, ECB_CPP17 |
111 | |
111 | |
112 | True if the implementation claims to be compliant to C++11/C++14/C++17 |
112 | True if the implementation claims to be compliant to C++11/C++14/C++17 |
113 | (ISO/IEC 14882:2011, :2014, :2017) or any later version. |
113 | (ISO/IEC 14882:2011, :2014, :2017) or any later version. |
114 | |
114 | |
|
|
115 | =item ECB_OPTIMIZE_SIZE |
|
|
116 | |
|
|
117 | Is C<1> when the compiler optimizes for size, C<0> otherwise. This symbol |
|
|
118 | can also be defined before including F<ecb.h>, in which case it will be |
|
|
119 | unchanged. |
|
|
120 | |
115 | =item ECB_GCC_VERSION (major, minor) |
121 | =item ECB_GCC_VERSION (major, minor) |
116 | |
122 | |
117 | Expands to a true value (suitable for testing in by the preprocessor) |
123 | Expands to a true value (suitable for testing in by the preprocessor) |
118 | if the compiler used is GNU C and the version is the given version, or |
124 | if the compiler used is GNU C and the version is the given version, or |
119 | higher. |
125 | higher. |
… | |
… | |
408 | |
414 | |
409 | =head2 OPTIMISATION HINTS |
415 | =head2 OPTIMISATION HINTS |
410 | |
416 | |
411 | =over 4 |
417 | =over 4 |
412 | |
418 | |
413 | =item ECB_OPTIMIZE_SIZE |
|
|
414 | |
|
|
415 | Is C<1> when the compiler optimizes for size, C<0> otherwise. This symbol |
|
|
416 | can also be defined before including F<ecb.h>, in which case it will be |
|
|
417 | unchanged. |
|
|
418 | |
|
|
419 | =item bool ecb_is_constant (expr) |
419 | =item bool ecb_is_constant (expr) |
420 | |
420 | |
421 | Returns true iff the expression can be deduced to be a compile-time |
421 | Returns true iff the expression can be deduced to be a compile-time |
422 | constant, and false otherwise. |
422 | constant, and false otherwise. |
423 | |
423 | |