problem with templates and iterators

Oscar Fuentes ofv@wanadoo.es
Wed Dec 15 18:23:00 GMT 2004


Ryan Boder <icanoop@bitwiser.org> writes:

> I'm having trouble compiling the following code.

[snip]

>     pair<multimap<string, Bob<T>*>::iterator, int> p;

    pair<typename multimap<string, Bob<T>*>::iterator, int> p;

[snip]

This type of questions should be asked on gcc-help, or on a C++
newsgroup.

-- 
Oscar



More information about the Gcc mailing list