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: dynamic_cast<T>(v) fails for T qualified from global namespace


Phil Edwards wrote:-

> On Thu, Aug 30, 2001 at 01:22:39PM -0700, Ben Allan wrote:
> > Sorry if this is a duplicate report -- haven't been able to
> > browse the web archive of the bug reports (specifically, gnats
> > wants a username and password at
> > http://gcc.gnu.org/cgi-bin/gnatsweb.pl
> > just to browse priors, which is itself a bug, imo.)
> 
> All it wants is 'guest' and 'guest', and I believe that it says so on that
> same page.
> 
> >   fp2 = dynamic_cast<::n1::foo *>(bp); // ! err
> 
> Digraphs, phooey.  I wish we could turn those off like trigraphs.

That would be one less gotcha for C++.  I thought the idea was to have
as many as possible?  8-)

Neil.


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