Poznámka
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete sa skúsiť prihlásiť alebo zmeniť adresáre.
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete skúsiť zmeniť adresáre.
obsolete C++ constructor initialization syntax
Remarks
In a new-style initialization list for a constructor, you must explicitly name each direct base class, even if it is the only base class.
Example
The following example generates C2351:
// C2351.cpp
// compile with: /c
class B {
public:
B() : () {} // C2351
B() {} // OK
};