Re: [eigen] StdVector

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


> 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: MacrosForSpecialization.zip
Description: Zip archive



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