use 'class' 'typename' template parameters?



possible duplicate:






when defining duty template category template c++, this:



template <class t> ...


or this:



template <typename t> ...


is there good reason move over other?






i supposed many renouned (and interesting) answer, nonetheless genuine answer seems "no, there good reason move over other."




  • they homogeneous (except remarkable below).

  • some have reasons always typename.

  • some have reasons always class.

  • some have reasons both.

  • some don't caring use.



note, however, before c++17 box template template parameters, class instead typename required. below. (but sole box matter preference, requirement language.)



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members