CppAD: A C++ Algorithmic Differentiation Package  20130918
#define CPPAD_OP_CODE_TYPE   unsigned char

Is the type used to store enum OpCode values.

If not the same as OpCode, then sizeof(CPPAD_OP_CODE_TYPE) <= sizeof( enum OpCode ) to conserve memory. This type must support std::numeric_limits, the <= operator, and conversion to size_t. Make sure that the type chosen returns true for is_pod<CPPAD_OP_CODE_TYPE> in pod_vector.hpp.

Definition at line 32 of file define.hpp.

Referenced by CppAD::recorder< Base >::Memory(), CppAD::recorder< Base >::PutLoadOp(), and CppAD::recorder< Base >::PutOp().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines