I need something like:

vU1024 a = ...
vU1024 b = ...
a += b

can one do (A):
vU1024Add( &a, &b, &a);

or do I have to write (B):
vU1024 temp;
vU1024Add( &a, &b, &temp) ;
memcpy(&a, &temp, sizeof(a) );

I tried (A) and it seems to work.
But this could be some (undocumented) implementation detail, and I am kind of 
reluctant to rely on it.
Any authoritative answers?

Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to