-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
I was using meta17::count_of<TypePack<int>>
which returns 0 because the type TypePack<int>
is not in the empty typepack.
However I was expecting to get the amount of types present in TypePack<int>
which is 1.
Not getting a compiler error led me to believe that this is the correct function for that.
Maybe we should introduce a compiler error for such cases?
arBmind
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers