Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
nonstandard extension used : access to 'classname' now defined to be 'access specifier', previously it was defined to be 'access specifier'
Remarks
Under ANSI compatibility (/Za), you cannot change the access to a nested class. Under the default Microsoft extensions (/Ze), you can, with this warning.
Example
The following example generates C4240:
// C4240.cpp
// compile with: /W3
class X
{
private:
class N;
public:
class N
{ // C4240
};
};
int main()
{
}