'function': 関数定義のようですが、パラメーター リストがありません。外見上の本体をスキップします。
関数定義に引数リストがありません。
例
次の例では 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;
}