The C++ Standard places no restriction on when, where, how, what and why a
particular usage of the "sizeof" operator is evaluated; it only necessitates
that the resultant value be available as a compile-time constant.
Does that mean that sizeof is a compile time construct (I guess that is
what you mean in above but still you say that C++ standard places no
restrictions "when" it is evaluated)? Could you please provide some
insight into how it is evaluated no matter whatever the
implementation?
Thanks,
Divick