|
|
|
|
|
by archangel_one
4550 days ago
|
|
No, the same restrictions apply to class as to struct.
The most relevant difference in C++ is that the compiler can reorder data members that are in different visibility specifications (public, protected, private) but not within one of those blocks, to maintain compatibility with C. |
|