This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: generalized lvalues
On Wed, Nov 17, 2004 at 09:33:42PM -0800, Matt Austern wrote:
> > I doubt if you will get the flood of questions you anticipate, because
> > few people even knew that the extension was there. It is possible that
> > someone has a production program that is not valid C++ that will now
> > break, but if this happens we just tell them how to fix the program.
>
> I hope you're right. I take the pessimistic view that there are lots of
> programmers who have no idea what the language definition is for
> the language they're using, but just throw code at the compiler until
> the compiler produces an executable that seems to work.
It is true that there is a lot of this. However, in this particular case,
assigning to a cast and expecting it to work isn't something that people
just stumble on to accidentally.