Victor Bazarov <v.********@comAcast.net> wrote in message news:<7w*****************@dfw-read.news.verio.net>...
Petec wrote: > And AFAIK in C++
non-register objects are required to have an address...
You K incorrectly. References are not required to have an address
and there is no requirement that they are 'register objects'.
Well, references are not objects at all, so Petec is correct.
(8.3.2, especially /3)
Types aren't required to have addresses either, nor do namespaces.
Only objects and functions have addresses, and these address spaces
are logically distinct. Petec is misleadingly incomplete about
objects declared with register; they must have an address as well.
However, it is most wise not to look at it, as that may block the
intended register effect.
Regards,
Michiel Salters