Is it time to say goodbye to VC6 compiler?
Of late I'm facing the issues that points finger to VC6 compiler. Few of them are: A function-try-block doesn't work. Related Q in-class constant doesn't work. __FUNCTION_ (Macro to get function name) doesn't work The latest addition is it doesn't allow void functions to be passed as part of for_each. The below example is not compiling with VC6 compiler. It says "error C2562: '()' : 'void' function returning a value". It looks like VC6 doesn't like void functions to be passed to for_each. class Temp { public: Temp(int i):m_ii(i) {} int getI() const { return m_ii; } void printWithVoid() { cout<