Daily Archives: June 16, 2011

C++ koenig lookup problem

Why does not the following code compile?  #include <iostream> // Does Koenig lookup work only for derived datatypes? namespace FBB {   float y;   class T   {     ;   };   T a;   void classTest(T arg)   {     std::cout<<”Inside class test”<<std::endl;     return;   }   void fun(float x)   [...]

Follow

Get every new post delivered to your Inbox.