public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3283: using declaration of overloaded member function in derived class definition
@ 2001-06-20 2:06 maeder
0 siblings, 0 replies; 2+ messages in thread
From: maeder @ 2001-06-20 2:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 3283
>Category: c++
>Synopsis: using declaration of overloaded member function in derived class definition
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 20 02:06:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Thomas Maeder
>Release: gcc version 3.0
>Organization:
>Environment:
NT4 cygwin
>Description:
/tmp.537 % g++ -c map.cpp
map.cpp: In member function `std::_Rb_tree_iterator<std::pair<const int, int>,
std::pair<const int, int>&, std::pair<const int, int>*> S::f()':
map.cpp:6: conversion from `std::_Rb_tree_iterator<std::pair<const int, int>,
const std::pair<const int, int>&, const std::pair<const int, int>*>' to
non-scalar type `std::_Rb_tree_iterator<std::pair<const int, int>,
std::pair<const int, int>&, std::pair<const int, int>*>' requested
>How-To-Repeat:
#include <map>
struct S : private std::map<int,int>
{
using std::map<int,int>::end;
iterator f() { return end(); }
const_iterator g() { return end(); }
};
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/3283: using declaration of overloaded member function in derived class definition
@ 2001-08-11 14:34 gdr
0 siblings, 0 replies; 2+ messages in thread
From: gdr @ 2001-08-11 14:34 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gdr, maeder, nobody
Synopsis: using declaration of overloaded member function in derived class definition
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sat Aug 11 14:34:20 2001
Responsible-Changed-Why:
Analyzed.
State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Sat Aug 11 14:34:20 2001
State-Changed-Why:
Confirmed as a bug. Duplicate of 3242.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3283&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-11 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 2:06 c++/3283: using declaration of overloaded member function in derived class definition maeder
2001-08-11 14:34 gdr
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).