Search code examples
c++templatestemplate-templates

When did template template parameters become part of the standard?


I understand from Section 1.5.2 of Modern C++ Design that template template parameters were not widely supported by compilers at the time of the book's writing. When did this feature become part of the standard?


Solution

  • Most likely since the first standard, C++98. It is in C++03 14.3.3 Template template arguments, and I doubt such a large change would have been introduced in what is essentially a revision of C++98. The same section is present in copies of the C++98 standard, although I cannot vouch for their authenticity. The ISO standard document itself has been withdrawn.