It's actually the other way around, historically. C++ first specified classes as structs with different (private versus public) default access.
Incidentally, a forward declaration of a class (or...
Type: Posts; User: grumpy
It's actually the other way around, historically. C++ first specified classes as structs with different (private versus public) default access.
Incidentally, a forward declaration of a class (or...
It is a legal construct in this case.
The standards do specify that violations of syntax rules or constraints must be diagnosed i.e. identified, and (implementation-defined) diagnostic messages...