According to the article posted at http://wikistack.com/koenig-lookup-or-argument-dependent-lookup/ koenig look happens only in case of namespace. if it is true then how lookup happens in below case
#include<iostream>
using namespace std;
class foo {
public:
friend void hello(foo obj) {
cout << "hello\n";
}
};
int main() {
foo foo_obj;
hello(foo_obj);
return 0;
}