| Prev | Next |  |  |  | preprocessor |

CppAD API Preprocessor Symbols
Purpose
The CppAD include files defines preprocessor symbols all of which begin with `CPPAD_`. Note that there are some old, deprecated preprocessor symbols that begin with `CppAD`. In this section we list all of the CppAD preprocessor symbols that are part of the CppAD Application Interface (API).
Documented Here
CPPAD_DEBUG_AND_RELEASE
This flag is an exception because it is defined (or not) by the user when compiling programs that include CppAD source code. If it is defined, less error checking is done and the debug and release versions of CppAD can be mixed in the same program. Of particular note is that thread_alloc does less error checking. For programs that do a lot of memory allocation, this can be a significant time savings when `NDEBUG` is defined.
CPPAD_NULL
Is a null pointer used by CppAD, instead of just using the value zero which was often done in C++98, which has been replaced by the value `nullptr` in C++11.
CPPAD_PACKAGE_STRING
Is a `const char*` representation of this version of CppAD.
CPPAD_USE_CPLUSPLUS_2011
This preprocessor symbol has the value has the value `1` if C++11 features are being used by CppAD. Otherwise it has the value zero.
Documented Elsewhere

CPPAD_BOOL_BINARY
CPPAD_BOOL_UNARY
CPPAD_DISCRETE_FUNCTION
CPPAD_MAX_NUM_THREADS
CPPAD_NUMERIC_LIMITS
CPPAD_STANDARD_MATH_UNARY
CPPAD_TAPE_ADDR_TYPE
CPPAD_TAPE_ID_TYPE
CPPAD_TESTVECTOR
CPPAD_TO_STRING

Deprecated

CppADCreateDiscrete
CppADvector
CPPAD_TEST_VECTOR
CPPAD_TRACK_NEW_VEC
CPPAD_TRACK_DEL_VEC
CPPAD_TRACK_EXTEND
CPPAD_TRACK_COUNT
CPPAD_USER_ATOMIC
CppADTrackNewVec
CppADTrackDelVec
CppADTrackExtend
CppADTrackCount

Input File: omh/preprocessor.omh