On 08/13/2014 08:36 PM, Jason Merrill wrote:
From: John McCall <[email protected]>
This is clearly the right way for any vendor who wants to accept non-POD
variadic arguments to do it:  no solution involving memcpy can be
correct for all types

Yep.  The only question is whether it's better, for code that is in a
gray area of the standard, to stick with the broken historical practice
or do something more correct.

Any more opinions on this question?  I'm ambivalent.

Since there is incompatible existing practice and the code is only conditionally-supported anyway, perhaps sticking with existing practice is the right answer even though it breaks the object model.

On the other hand, perhaps since the code is only conditionally-supported, compatibility with existing practice isn't as important.

Jason

_______________________________________________
cxx-abi-dev mailing list
[email protected]
http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev

Reply via email to