MSVC non compliant with standard?
Summary The issue at hand is a compiler discrepancy between GCC and MSVC. A C++ code snippet using templates and std::ostream is compiling correctly with GCC but throwing an error with MSVC. The error message indicates that the identifier val is undeclared, which seems misleading given the context. The key difference between the non-compiling and … Read more