lock3 / meta

122 stars 11 forks source link

turn range of meta::info into a template param list #301

Closed DaemonSnake closed 3 years ago

DaemonSnake commented 3 years ago

Hi,

I'm looking to do something like this:

auto types = ...;
using result_t  = some_template<...templarg(types)>;

But so far I've come empty-handed.

Tries to take inspiration from: https://github.com/lock3/meta/issues/138 But it didn't work.

Can you help? Thanks in advance

TimPhoeniX commented 3 years ago

https://cppx.godbolt.org/z/Tz6sr8rj7