[basic-improvements] C++ PATCH to build_vec_init
Mark Mitchell
mark@codesourcery.com
Wed Nov 27 18:56:00 GMT 2002
--On Wednesday, November 27, 2002 12:26:23 PM -0500 Jason Merrill
<jason@redhat.com> wrote:
> On Mon, 25 Nov 2002 22:52:17 -0800, Mark Mitchell <mark@codesourcery.com>
> wrote:
>
>> We do want to make sure that any destructors arising out of the
>> evaluation of the initializations aren't run until after all the
>> initializations have taken place; even though we're generating
>> statements, the whole initialization is one big expression.
>
> This is not actually the case; it was clarified in DR 201.
Oh, OK. In that case, I'm not sure what that code is doing there. It's
quite likely that removing it is harmless.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-patches
mailing list