Nobody has proposed a template typedef. The typedefs used in this thread are all typedefs of template
instantiations, which are perfectly legal, i.e.:
template < typename Type >class Thing{ // stuff};// template typedef (possible syntax) - not valid standard C++// template < typename Type >// typedef Thing< Type > OtherNameForThing// OtherNameForThing< int > onft;// template typedef (proposed C++0x syntax) - not yet valid standard C++// template < typename Type >// using OtherNameForThing = Thing< Type >// OtherNameForThing< int > onft;// typedef of template instantiation - perfectly valid standard C++typedef Thing< int > IntThing;IntThing it;
Enigma
(SiCrane well and truely beat me to it because I went looking for the proposed C++0x template typedef syntax).