On Thursday, November 28, 2002, at 07:42 PM, Iain K.Hanson wrote:
But C 99 standardised the int*_t types and in anticipation that C++ 0x
might do the same, boost has them in the integer library ( cstdint.hpp ).

Two suggestions *I think* have been made.

1) that the serialisation library recommends to users who want portable
archives, should use the boost::int*_t types instead of short, int, etc.
That would be necessary in any case


2) That the serialisation library could detect the size of integral types
being serialised and use the correct int*_t types instead of short, int etc.
That is possible. The remaining questions is whether

3) the serialization library should anticipate that t C++ 0x might standardize the int*_t types and, for the sake of portability use them already now as fundamental types instead of short, int and long

Note that this would keep text based archives formats at least as portable as they are now.

Matthias

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

Reply via email to