Boost logo

Boost :

Subject: Re: [boost] [boost::endian] Request for comments/interest
From: Tomas Puverle (Tomas.Puverle_at_[hidden])
Date: 2010-05-29 21:22:28


> I was just looking at your implementation.
> It looks like it will only swap things with even-numbers of entities.
> For example, would swap_in_place<int24_t>(an_int24_t) work?
> sizeof(int24_t) == 3

You are correct that I haven't provided the overloads for the non-power two
sizes. This, however, is not a limitation of the design but simply the
product of my desire to keep the amount of code to a minimum in the RFC
version of the code. It simply a question of providing the template
specializations.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk