
6 Jan
2012
6 Jan
'12
5:44 p.m.
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: fusion::vector<Enum_1,Enum_2,...Enum_n>: (See http://www.boost.org/doc/libs/1_48_0/libs/fusion/doc/html/fusion/container/v...) Why wouldn't a fusion::vector be suitable? -regards, Larry