A simple testcase (Re: [RFC] middle-end/21743...)
Paolo Carlini
pcarlini@suse.de
Fri May 27 12:06:00 GMT 2005
Paolo Carlini wrote:
>Hi again ;)
>
>In the meanwhile figure out a simple testcase, clearly showing the issue.
>
>namespace mine
>{
> void csin(int) { };
> int cpow;
>};
>
>using mine::csin; // Ok.
>using mine::cpow; // Not ok.
>
>I'm not sure whether we can do something about this...
>
>
I'd like also to add my tendentious wild guess: builtins are only not
considered during overload resolution, *not* completely hidden as names.
I don't think this is right. I don't think the builtin cpow (normally,
correctyl, hidden as a function) should conflict with my integer mine::cpow.
Gaby, is there something I'm missing?
Paolo.
More information about the Libstdc++
mailing list