Boost logo

Boost Users :

Subject: Re: [Boost-users] Needs advices on design ( mpl or processor )
From: Larry Evans (cppljevans_at_[hidden])
Date: 2012-01-06 12:44:17

On 01/06/12 10:19, Allan Nielsen wrote:
> Hi
> This is not a specific questions directly related to Boost::mpl, but a request
> for help if somebody has the time...
> For the last couple of month I have been trying to learn to use the boost::mpl
> library.
> To learn to use the library I decided to use it for creating a
> "compressed-enum" library. The library should make it possible to store several
> enums in a single variable (for instance an unsigned int)

Wouldn't that variable have to be large enough to contain all the enums.
At first glance this looks like:



Why wouldn't a fusion::vector be suitable?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at