Liste des Groupes | Revenir à cl c++ |
Muttley@DastardlyHQ.org wrote this post while blinking in Morse code:Who knows. The C++ committee certainly has form on this - typename replaced>
class in template definitions when they realised 10 years after everyone elsethat reusing class in that particular case was somewhat confusing.>
Stroustrup in section 23.2 of his 4th edition C++ book notes that
these two are equivalent:
>
template<typename X>
template<class X>
>
but that for typename X, X need not be a class.
Les messages affichés proviennent d'usenet.