---------------
Christof.Meerwald@ freec++.prog

home
> prog
>> freecpp
>>> koenig lookup

translate to German (by SYSTRAN)

Argument Dependent/Koenig Lookup

See GotW #30: Name Lookup and What is Koenig Lookup?

> koenig_lookup.cpp:

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