Comparing address of std::endl
I am inspecting a piece of existing code and found out it behaves differently when compiled with Visual C++ 9 and MinGW: inline LogMsg& LogMsg::operator<<(std::ostream& (*p_manip)(std::ostream&) ) { if ( p_manip == static_cast< std::ostream& (*)(std::ostream&) > ( &std::endl<char, std::char_traits<char> >) ) { msg(m_outp...