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
Post a Comment