'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;
}