[Bug c++/28157] cannot create STL iterator using template types

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Sat Jun 24 21:40:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list