From the C++ Standard ISO/IEC 14882, in chapter
9.4.2 Static data members
We read
A local class shall not have static data members.
Why not ? Is this logically deducable from other rules in the language or a design choice ?
From the C++ Standard ISO/IEC 14882, in chapter
9.4.2 Static data members
We read
A local class shall not have static data members.
Why not ? Is this logically deducable from other rules in the language or a design choice ?