Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 575 Bytes

compiler-error-c2473.md

File metadata and controls

29 lines (23 loc) · 575 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2473
Compiler Error C2473
11/04/2016
C2473
C2473
6bb7dbf5-b198-490f-860e-fd64d0c2a284

Compiler Error C2473

'identifier' : looks like a function definition, but there is no parameter list.

The compiler detected what looked like a function, without the parameter list.

Example

The following sample generates C2473.

// C2473.cpp
// compile with: /clr /c
class A {
   int i {}   // C2473
};

class B {
   int i() {}   // OK
};