This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [v3] More of condition_variable_any


On 02/03/2010 12:01 AM, Jonathan Wakely wrote:
> I was thinking ADL could find another function, because __atime can
> contain user-defined types from arbitrary namespaces, but I should
> have thought about it properly -- there are no lookup issues.
>   
Ah good. You know, we want a clear direction for this (minor) issue,
even if at the moment we aren't fully consistent. Anyway, if in the
future you will notice any strange special cases, please speak loud.

I'm thinking, in general: if the lay programmer had  to qualify
everything with this-> when writing simple classes (no templates, bases,
anything) I would come to the conclusion that there is something really
broken in the lookup rules (well beyond the known brokeness of ADL, I
mean ;)

Paolo.


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