24 May 13:34
Re: [integer] Promotion of endian library code from vault
Beman Dawes <bdawes <at> acm.org>
2008-05-24 11:34:41 GMT
2008-05-24 11:34:41 GMT
Roland Schwarz wrote: > >... > The bottom line: For the endian lib to go into boost I really would > want to require it being able to produce platform independent > binary data. Yes, of course. That's the most important requirement. While the interface in endian.hpp is modern C++, the C implementation of underlying struct has been in use since about 1984 on a very wide variety of platforms. Data files have been exchanged without problems between those platforms since then. Others have reported successful use of the same technique. The standards committees understand the importance of preserving layout compatibility for such structs. --Beman _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed