Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324842

Summary: [C++ semantics] problem with ADL for overloaded function set
Product: [Tools] CDT Reporter: Markus Schorn <mschorn.eclipse>
Component: cdt-parserAssignee: Project Inbox <cdt-parser-inbox>
Status: CLOSED DUPLICATE QA Contact: Mike Kucera <mikekucera>
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Schorn CLA 2010-09-09 09:19:01 EDT
namespace ns {
  struct S {};
  void fp(void (*)(int));
}
void f0(ns::S);
void f0(int);

void test() {
  fp(f0);  // ADL shall find fp
}
Comment 2 Markus Schorn CLA 2010-09-16 03:26:53 EDT

*** This bug has been marked as a duplicate of bug 85843 ***