This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A simple testcase (Re: [RFC] middle-end/21743...)


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.


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