Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324842 - [C++ semantics] problem with ADL for overloaded function set
Summary: [C++ semantics] problem with ADL for overloaded function set
Status: CLOSED DUPLICATE of bug 85843
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Mike Kucera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 09:19 EDT by Markus Schorn CLA
Modified: 2010-09-16 03:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***