Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
'function': looks like a function definition, but there is no parameter list; skipping apparent body
Remarks
A function definition is missing its argument list.
Example
The following example generates C2470:
// C2470.cpp
// compile with: /c
template <typename T>
class C
{
int func();
};
template <typename T>
int C<T>::func // C2470
// Use the following line to resolve the error:
// int C<T>::func()
{
return 0;
}