int DoBar(Foo foo) { return foo.GetFoo(); }
void DoBar (Foo foo) { cout << "inside DoBar " << endl; int i = foo.GetFoo (); }