When should value parameters be destroyed?

Mark Mitchell mark at codesourcery.com
Sun Oct 1 18:21:23 UTC 2000


>>>>> "Martin" == Martin von Loewis <loewis at informatik.hu-berlin.de> writes:

Why not?  `foo' has a parameter of type `A'.  It's supposed to be
destroyed before `foo' returns, so it would seem the destructor is
used there.  

That said, I don't see the space advantages as minor, and I do see the
changes to existing implementations as significant, so I would prefer
we honor existing practice, if that's what everybody already does.

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the cxx-abi-dev mailing list