J
jameskuyper
Richard said:I already did. It's above.
a) I don't see any currently defined meaning for static that is
identified as the starting point for your extension.
b) I don't see any description of how your new meaning is
interpretable as an extension of that current meaning.
c) I don't see any argument explaining why this particular extension
is uniquely obvious.
All I see is a new meaning being proposed for the keyword static,
which already has too many distinct meanings.
I also pointed out that I am not talking about any "existing
documentation of static", just that it does not take a degree in CS to
come to a relatively easy deduction of what a static field in a struct
*might* mean in some alternative universe.
Sure, it's easy to come up with a wide variety of possible meanings.
It's the obvious uniqueness of that particular way of extending the
meaning that I'm disputing.
Possibly you have a much more detailed view of what static might mean -
I know several meanings of static in C, none of which has a non-
problematic application if extended to cover structure members
separately from the structures they are members of. I know of a
different unrelated meaning of the word static in C++, which does
apply in that context, but it cannot be usefully transferred to C
unless we either add a gratuitous incompatibility with C++, or add
other C++ features to C in addition to static membership. It's those
other C++ features (scope resolution operator and member functions)
that make static membership useful in C++. I would not favor making
such changes to C.