Boost logo

Boost :

Subject: Re: [boost] [boost::endian] Request for comments/interest
From: Tomas Puverle (tomas.puverle_at_[hidden])
Date: 2010-05-28 11:21:37


thanks for posting your code.

> > At that point, however, the functional approach seems more
> > straightforward.
> We sometimes deal with messages with mixed endianness.
> A functional approach means the programmer has to "know" which endianess the
> data he wants to swap is.

Well, the programmer needs to know this in any case but in your usage scenario,
without additional information about what you are doing, I would tend to agree
that the information may be better encapsulated the way you did it.

As I said previously, I am opened to implementing what you need as a thin layer
on top of the "raw" swap capability.

That would satisfy your needs, correct?


Boost list run by bdawes at, gregod at, cpdaniel at, john at