Re: template typedef

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux