help-gplusplus
[Top][All Lists]
Advanced

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

Re: Iterator with template no longer a type in g++3.?


From: Paul Pluzhnikov
Subject: Re: Iterator with template no longer a type in g++3.?
Date: Sun, 03 Apr 2005 15:42:07 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Xin Wang <wangxi@yahoo.com> writes:

> The compiler keeps on complaining that list<State>::iterator is not a
> type, and itr is not declared. What is wrong here?

You are probably missing 'using namespace std;'.
Post a complete (minimal) test case if that's not it.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]