This documentation is archived and is not being maintained.
Compiler Error C2785
Visual Studio 2008
'declaration1' and 'declaration2' have different return types
The return type of function template specialization differs from the return type of the primary function template.
To correct this error
Check all specializations of the function template for consistency.