-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi,
I'm new to metaprogramming and I've just started with brigand. I was playing with the library and faced with a problem. I can't compile the following code:
using List1 = brigand::list<int, float>;
using List2 = brigand::list<bool, char>;
using MyLists = brigand::list<List1, List2>;
int main()
{
static_assert(brigand::index_of<MyLists, List1>() == 0, "wrong list index");
}
I get an error:
brigand/functions/lambda/apply.hpp:51: error: no type named 'type' in 'brigand::detail::apply<brigand::list<int, float>, brigand::list<brigand::list<int, float> > >'
Can you help me with this?
Metadata
Metadata
Assignees
Labels
No labels