This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 223579 - Argument-dependent name lookup or Koenig lookup
Summary: Argument-dependent name lookup or Koenig lookup
Status: RESOLVED DUPLICATE of bug 256058
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal with 1 vote (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-10 09:33 UTC by soldatov
Modified: 2015-11-30 17:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2012-12-10 09:33:23 UTC
http://en.wikipedia.org/wiki/Argument-dependent_name_lookup

code from wiki:
namespace NS {
    class A {
    };
    void f(A *&, int) {
    }
}

int main() {
    NS::A *a;
    f(a, 0); //calls NS::f
}

==> f(a, 0) is marked as unresolved identifier
Comment 1 stiffuser 2014-09-04 01:59:05 UTC
Verified that this defect still exists with dev-20140616
Comment 2 Alexander Simon 2015-10-27 15:42:21 UTC
*** Bug 256058 has been marked as a duplicate of this bug. ***
Comment 3 petrk 2015-11-30 17:43:35 UTC
Fixed in http://hg.netbeans.org/main-silver/rev/e0b93e60856c. (fix for bug 256058)

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