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;
>> 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk