CppAD: A C++ Algorithmic Differentiation Package
20171217
|
#define CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION inline |
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. This macro is defined as empty for Microsoft compilers.
Definition at line 43 of file define.hpp.