template typedef

Ingo Krabbe ikrabbe.ask@web.de
Fri Dec 16 11:13:00 GMT 2005


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)



More information about the Gcc-help mailing list