
4 Jun
2010
4 Jun
'10
2:41 p.m.
Tomas has rightly kept endianness from networking because it can be used for > graphics, market data, etc. In my own code, I used "byte_order" as the namespace.
Without the explicit, operations on PackedInteger, such as comparison, will have ambiguity.
I haven't looked into it, so I'll take your word for it. I thought it was to
Agreed. Endianness simply applies to converting data from one byte/bit orientation to another. prevent implicit construction
from native types on general principles.
Which is one the problems having the "object-based" interface with automatic conversion operators on types. And from there is just keeps getting uglier.