Monthly Archives: September 2011

Interesting c++ snippet

The snippet Try compiling and running this code with and without the the first declaration of f commented out: namespace X { template<int x> int f(int); // comment this } namespace A { struct B {}; int operator>(int, B) { … Continue reading

Posted in Uncategorized | Comments Off