| Christof Meerwald@freec++.prog | ||||
Argument Dependent/Koenig LookupSee GotW #30: Name Lookup and What is Koenig Lookup?
namespace A
{
struct B
{ };
void f(B &b)
{ }
}
int main()
{
A::B b;
f(b);
return 0;
}
| ||||
This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.
|
Revision: 1.4, cmeerw.org/prog/freecpp/koenig_lookup.html Last modified: Mon Sep 03 18:20:50 2018 |
Christof Meerwald <cmeerw@cmeerw.org> XMPP: cmeerw@cmeerw.org |