This is the mail archive of the gcc-bugs@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]

Re: c++/3423: "iterator" name lookup trouble


Synopsis: "iterator" name lookup trouble

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Tue Jun 26 05:24:44 2001
State-Changed-Why:
    Not a bug.  According to the standard, names from template
    parameter dependent base classes are not visible in derived
    class.  And fully-qualified name is required to access it.
    In your code, the base class of polygon_segment, 
    vector<coord_vector<T> >, depends on the parameter T.
    You have to use 'vector<coord_vector<T> >::iterator'
    instead of just 'iterator'.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3423&database=gcc


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