Hi to all.
I'm trying to use typelists of the Loki Library. It works fine but I need an additional feature and I don't know if it is feasable.
You can access typelist's elements with an index like the following.
Field<0>(myTypelist);
Unfortunately the index has to be known at compile-time. Is there a way to use an index not know at compile-time.
ie,
int index = 5;
Field<index>(myTypelist);
Can someone help me out please? )
Thanks for your help.
Frank
I'm trying to use typelists of the Loki Library. It works fine but I need an additional feature and I don't know if it is feasable.
You can access typelist's elements with an index like the following.
Field<0>(myTypelist);
Unfortunately the index has to be known at compile-time. Is there a way to use an index not know at compile-time.
ie,
int index = 5;
Field<index>(myTypelist);
Can someone help me out please? )
Thanks for your help.
Frank