[LLVMdev] next

Sebastian Redl sebastian.redl at getdesigned.at
Mon Nov 16 00:32:11 PST 2009


On Sun, 15 Nov 2009 22:49:42 -0800, Evan Cheng <evan.cheng at apple.com>
wrote:
> I am pretty sure the .cpp files always explicitly use "llvm" namespace.
> Look for:
> using namespace llvm;
> 
> Is that sufficient?
> 

No. To prevent ADL from finding std::next, you need an explicitly
qualified name at the call site.

Sebastian




More information about the llvm-dev mailing list