Re: [eigen] StdVector

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I just realized that this is much simpler...

On Wed, Apr 22, 2009 at 10:32 AM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
>> EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION_TPL_<N>(ClassName,
>> Type1,Name1,Type2,Name2,Type3,Name3,...));
>>
>>  If we don't want to define one macro per number of template
>> arguments, we have to use some advanced meta-preprocessor tricks. For
>> instance the API could be:
>>
>> EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION_TPL(ClassName, NbTplParams,
>> (Type1,Name1,Type2,Name2,Type3,Name3,...)));
>
> What about the macro as in the attached example? Does it work on non
> VS.net systems?
>
> Regards,
> Hauke
>

Attachment: EigenMacros.h
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/