template issue

Darko Miletic darko@uvcms.net
Tue Sep 14 18:08:00 GMT 2004


Paolo Carlini wrote:

> Hi Darko,
> 
> this message isn't really suited for this list: please prefer gcc-help.

You are indeed right. In the future I'll post there questions like this.


> FWIW, adding a 'typename' in print_map_
> (e.g., print_map<T, typename T::value_type>(map_);) leads to
> succesfull compilation with g++, but you need a language lawyer to
> really know whether g++ is right or not in requiring it...

It works now. Thank you very much.

Darko



More information about the Libstdc++ mailing list