public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: lerdsuwa@gcc.gnu.org To: ak@ixion.net, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: c++/3423: "iterator" name lookup trouble Date: Tue, 26 Jun 2001 05:24:00 -0000 [thread overview] Message-ID: <20010626122444.14692.qmail@sourceware.cygnus.com> (raw) 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
next reply other threads:[~2001-06-26 5:24 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-26 5:24 lerdsuwa [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-06-26 6:06 Artem Khodush 2001-06-26 4:36 ak
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010626122444.14692.qmail@sourceware.cygnus.com \ --to=lerdsuwa@gcc.gnu.org \ --cc=ak@ixion.net \ --cc=gcc-bugs@gcc.gnu.org \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).