The answer to this is in the standard language.
For starters, we have a specification of the location
Secondly, we have a specification of the fields
of the class.10-th item
specifications class fields suggests that the fields of invalid class specifiers extern
, and therefore only valid static
does not affect the actual location of the fields in the class.
Hence is inferred that the location of the fields affects only class specifier static
, which takes the field in the area of permanent placement
Otherwise, the location of
all non-static class fields produced within the memory
of the object being created.