I'm not sure why this check wasn't being done at template definition time.
I can't devise a test case to trigger the concerns in the deleted comments below.
Anything I might be missing by simply adding the CheckTemplateArgument check here?
Thanks!
You don't appear to have added any test coverage for these cases. Are there existing tests for this? Something like:
Similar cases exist where the template template parameter has a parameter pack and is used as a default template argument for a template template parameter that takes a non-pack.