Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Some templates of containers have template constructors. Commented Aug 28, 2014 at 22:01
  • 7
    @GingerPlusPlus: a constructor template is not a template template parameter. Commented Aug 28, 2014 at 22:01
  • I think there aren't template template parameters templates in STL. Because this would break the philosophy of Containers <-> Iterators <-> Algorithms. Commented Aug 28, 2014 at 22:05
  • 3
    @AndrewTomazos a quick ad-hoc peruse of the C++11 standard reveals no first-term template-template arguments (i.e. something of the form template<template<.... I didn't take the time to write up a full and proper RE to scan the entire standard, but I think 40two is perhaps correct, that no standard-lib actual usage exists. I don't have a v14 draft handy; sorry about that. Commented Aug 28, 2014 at 22:10
  • 1
    There aren't any because template template parameters are really awkward (especially before C++11) and the standard silently acknowledges that ;) Commented Aug 29, 2014 at 12:38