add(TypeList): empty type list `CreateImpl` specialization

Add an empty `vtkTypeList::CreateImpl` specialization for completeness
and for when no `vtkImplicitArray`s are dispatched.
HTGFixUnlimitedToRoot
Julien Fausty 2022-11-21 10:34:04 +01:00
parent b9a5755f19
commit dca028f653
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@ struct CreateImpl<T1>
using type = vtkTypeList::TypeList<T1, vtkTypeList::NullType>;
};
template <>
struct CreateImpl<>
{
using type = vtkTypeList::NullType;
};
template <typename T1, typename T2, typename T3, typename T4, typename... Tail>
struct CreateImpl<T1, T2, T3, T4, Tail...>
{