
4 Jun
2010
4 Jun
'10
2:49 p.m.
On 4 June 2010 10:29, Tomas Puverle <tomas.puverle@morganstanley.com> wrote:
Having the arithmetic operators on endian types is a completely wrong separation of concerns - it's akin to throwing away types and writing all code just using void pointers.
I disagree. The endian types provide different storage policies for integral types. Comparing them, which provide much stronger invariants than swapping-based approaches, to untyped void* code is unfair.