'class': クラス コンストラクターに戻り値の型を指定することはできません
クラス コンストラクターに戻り値の型を指定することはできません。
次の例では C3264 が生成されます。
// 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() {
}