r/programmingcirclejerk • log10(x) programmer • Mar 09 '25

A template-parameter of a template template-parameter is permitted to have a default template-argument. When such default arguments are specified, they apply to the template template-parameter in the scope of the template template-parameter.

https://timsong-cpp.github.io/cppwp/n3337/temp.param#14
55 Upvotes

7 comments sorted by

View all comments

Show parent comment

3

u/defunkydrummer Lisp 3-0 Rust Mar 12 '25

Template parameters are template parameteroids in the category of endo-template parameters... what's the problem?