[LLVMdev] next

Sebastian Redl sebastian.redl at getdesigned.at
Mon Nov 16 11:54:55 PST 2009


Howard Hinnant wrote:
> On Nov 16, 2009, at 1:43 PM, Dale Johannesen wrote:
>
>   
>> "next" is a popular name; if it breaks llvm, I'd expect this standards change to break a lot of existing code.  Do you really want to do that?
>>     
>
> I'm happy to open an LWG issue for you on this subject.  Here are directions on submitting an issue:
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#submit_issue
>   
It may be premature, but a resolution for the issue would be the same 
thing Boost does in this case: put the function in a subnamespace and 
introduce it to std via using declaration. I believe this should prevent 
it from being found via ADL. (Or does that only work the other way round?)

Sebastian



More information about the llvm-dev mailing list