This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28157] cannot create STL iterator using template types
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2006 21:27:56 -0000
- Subject: [Bug c++/28157] cannot create STL iterator using template types
- References: <bug-28157-12872@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from schwab at suse dot de 2006-06-24 21:27 -------
You need to tell the compiler that std::map<C,D>::const_iterator is a type by
prefixing it with typename.
--
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28157