Excerpt from Acceleration Encoding Recommendation for Integral Constant Expressions :
Do not use logical operators in integral constant expressions; use meta-programming templates instead.
The header contains several workaround patterns that act as logical operators, for example, instead of:
INTEGRAL_CONSTANT1 || INTEGRAL_CONSTANT2
Using:
::boost::type_traits::ice_or<INTEGRAL_CONSTANT1,INTEGRAL_CONSTANT2>::value
. ( , Borland Microsoft), , , , . , , .
. ( , .)