------------------------------------------- lines 5-142 of file: xrst/preprocessor.xrst ------------------------------------------- {xrst_begin preprocessor} {xrst_spell nullptr } CppAD API Preprocessor Symbols ############################## Rule **** 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). NOMINMAX, windows.h ******************* There is one exception to the rule above, when using the Microsoft Visual Studio compiler and including ``windows.h`` , it is done as follows: :: # ifndef NOMINMAX # define NOMINMAX # endif # include Documented Here *************** CPPAD_NULL ********** Deprecated 2020-12-03: This preprocessor symbol was used for a null pointer before c++11. Replace it by ``nullptr`` . {xrst_comment # undef CPPAD_NULL } CPPAD_PACKAGE_STRING ==================== Is a ``const char*`` representation of this version of CppAD. {xrst_comment # undef CPPAD_PACKAGE_STRING } CPPAD_USE_CPLUSPLUS_2011 ************************ Deprecated 2020-12-03: Is it OK for CppAD to use C++11 features. This is always 1 (for true). {xrst_comment # undef CPPAD_USE_CPLUSPLUS_2011 } CPPAD_USE_CPLUSPLUS_2017 ************************ Is it OK for CppAD to use C++17 features. {xrst_comment # undef CPPAD_USE_CPLUSPLUS_2017 } Documented Elsewhere ******************** .. list-table:: :widths: auto * - :ref:`CPPAD_BOOL_BINARY` * - :ref:`CPPAD_BOOL_UNARY` * - :ref:`CPPAD_DISCRETE_FUNCTION` * - :ref:`multi_thread@CPPAD_MAX_NUM_THREADS` * - :ref:`base_limits@CPPAD_NUMERIC_LIMITS` * - :ref:`base_std_math@CPPAD_STANDARD_MATH_UNARY` * - :ref:`cmake@cppad_tape_addr_type` * - :ref:`cmake@cppad_tape_id_type` * - :ref:`CPPAD_TESTVECTOR` * - :ref:`base_to_string@CPPAD_TO_STRING` {xrst_comment # undef CPPAD_BOOL_BINARY # undef CPPAD_BOOL_UNARY # undef CPPAD_DISCRETE_FUNCTION # undef CPPAD_MAX_NUM_THREADS # undef CPPAD_NUMERIC_LIMITS # undef CPPAD_STANDARD_MATH_UNARY # undef CPPAD_TAPE_ADDR_TYPE # undef CPPAD_TAPE_ID_TYPE # undef CPPAD_TESTVECTOR # undef CPPAD_TO_STRING } Deprecated ========== .. list-table:: :widths: auto * - :ref:`CppADCreateDiscrete` * - :ref:`CPPAD_TRACK_NEW_VEC` * - :ref:`CPPAD_TRACK_DEL_VEC` * - :ref:`CPPAD_TRACK_EXTEND` * - :ref:`CPPAD_TRACK_COUNT` * - :ref:`CppADTrackNewVec` * - :ref:`CppADTrackDelVec` * - :ref:`CppADTrackExtend` * - :ref:`CppADTrackCount` * - :ref:`CppADCreateBinaryBool` * - :ref:`CppADCreateUnaryBool` * - :ref:`CPPAD_USER_ATOMIC` * - :ref:`CPPAD_CPPADVECTOR` * - :ref:`CPPAD_STDVECTOR` * - :ref:`CPPAD_EIGENVECTOR` * - :ref:`CPPAD_BOOSTVECTOR` {xrst_comment # undef CppADCreateDiscrete # undef CPPAD_TRACK_NEW_VEC # undef CPPAD_TRACK_DEL_VEC # undef CPPAD_TRACK_EXTEND # undef CPPAD_TRACK_COUNT # undef CPPAD_USER_ATOMIC # undef CppADTrackNewVec # undef CppADTrackDelVec # undef CppADTrackExtend # undef CppADTrackCount # undef CppADCreateBinaryBool # undef CppADCreateUnaryBool # undef CPPAD_USER_ATOMIC # undef CPPAD_CPPADVECTOR # undef CPPAD_STDVECTOR # undef CPPAD_EIGENVECTOR # undef CPPAD_BOOSTVECTOR } {xrst_end preprocessor}