CppAD: A C++ Algorithmic Differentiation Package 20110419
|
A version of the inline command that works with MC compiler. Microsoft Visual C++ version 9.0 generates a warning if a template function is declared as a friend (this was not a problem for version 7.0). The warning identifier is warning C4396 and it contains the text the inline specifier cannot be used when a friend declaration refers to a specialization of a function template This happens even if the function is not a specialization. The macro CPPAD_INLINE is defined as empty for Microsoft compilers. Definition at line 70 of file define.hpp. |