On 08/13/2014 05:38 PM, Dennis Handly wrote:
Did the customer say how he was going to accept it on the callee side?

My proposal is that this would all be handled transparently by the compiler, which knows which types need to be handled this way.

aCC6 allows it with a warning but the results are unpredictable:
warning #3290-D:  Passing a non-POD object to a function with variable
arguments has undefined behavior.  Object will be copied onto
the stack instead of using a constructor.

(This is a bitwise copy.)

Ah, so my proposal would be incompatible with the current aCC behavior. Hmm.

Jason

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

Reply via email to