You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dangelog
changed the title
In templates, use placeholder types (NTTPs) instead of type parameters when handling containers
Do not use variadic type parameters in templates
Sep 8, 2022
A container's type may include non-type template parameters, e.g.
Accepting them with
template <typename ...> typename Container
will therefore fail:For some reason this was a deliberate choice. But why simply using
template <typename> typename Container
doesn't work here?The text was updated successfully, but these errors were encountered: