Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-06-02 13:24:12

"Beman Dawes" <bdawes_at_[hidden]> wrote in message

>> my_message<endian::big> msg1;
>> my_message<endian::little> msg2;
>> my_message<endian::native> msg3;
> Interesting.
>> etc. In my opinion a similar argument applies to exposing the
>> alignment as a template parameter.
> Yeah. Those are separate classes now. Probably not too hard to wrap in a
> generative class template that takes endianness and alignment as template
> arguments and then just instantiates one of the current classes.
> Anyone like to contribute such an animal?

Nevermind. Such a wrapper is trivial. I'll include it myself.


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