Megosztás a következőn keresztül:


C3264 fordítóhiba

"class" : az osztálykonstruktor nem rendelkezhet visszatérési típussal

Megjegyzések

Az osztálykonstruktorok nem rendelkeznek visszatérési típusokkal.

Example

Az alábbi példa c3264-et hoz létre:

// C3264_2.cpp
// compile with: /clr

ref class X {
   public:
      static int X()   { // C3264
      }

      /* use the code below to resolve the error
      static X() {
      }
      */
};
int main() {
}