Boost logo

Boost Users :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2006-06-14 18:08:07


"Paul Mensonides" wrote:

>> Chris Weed
>
>> I want to do something like use the following set of types
>> TYPE1: char int float
>> TYPE2: char int float double
>>
>> to generate permutations of MyClass<TYPE1,TYPE2> such as
>>
>> typedef MyClass<char,char> Mycc;
>> typedef MyClass<char,int> Myci;
>> typedef MyClass<char,float> Mycf;
>

[ snip code doing this ]

Could the code be added into examples?
People often wonder what the library could be used for
and this is a perfect example.

/Pavel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net