Compilerfehler C2533

'Bezeichner' : Rückgabetyp für Konstruktoren nicht zulässig

Ein Konstruktor kann nicht über einen Rückgabetyp verfügen (auch nicht über den Rückgabetyp void).

Im folgenden Beispiel wird C2533 generiert:

// C2533.cpp
// compile with: /c
class X {
public:
   X();   
};

int X::X() {}   // C2533
X::X() {}   // OK