KL> 2) Although both POSIX and C99 define them to be 2's complement integers
KL> with the appropriate number of bits, neither standard sets a requirement 
KL> on byte ordering within the multibyte types.  Thus, even if a platform 
KL> supports them (say, the BSD family), the binary form of the integers is 
KL> not portable.

KL> So, while use of them may lead to a MORE portable C++ interface, they 
KL> won't directly lead to a portable binary serialization format (although 
KL> you can clearly fix that problem in platform specific byte reordering code).

The Serialization library can still take care of byte swapping - my
point was just not to use the platform dependant types in the
interface but only in the client's implementation (which you have to
do anyway).



-- 
Best regards,
 Michael                            mailto:[EMAIL PROTECTED]

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to