This is the mail archive of the gcc@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: problem with templates and iterators


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


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