This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: template typedef


Am Freitag, 16. Dezember 2005 11:38 schrieb Vincent Torri:
> hey,
>
> does gcc 3.4 (or 4.*) support template typedef, like that:
>
> template<class T>
> typedef std::map<std::string, T> Registry;

Is this iso C ?

>
> ? (or any other syntax)
>
> thank you
>
> Vincent Torri

I feel you should better overload

template <class T> class Registry public std::map<std::string, T> { };  (or 
similar I'm not that firm with templates anymore)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]