[..]
>       I looked at the ANSI C++ spec (ISO 14882), but could not find a clear
>       definition on this.

FWIW, I'm pretty sure there won't be anything in the standard
about this.

Since the size of a literal string is known at compile time,
there's no reason for a compiler to allocate the string simply
to satisfy the sizeof operator.  That said, there's nothing
to prevent a compiler from putting the string "abracadabra"
or anything else it pleases into a binary. But why would it do
so?  It's just a quality of implementation (non-) issue.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to