Erroneous/Incorrect C2248 error using Visual Studio 2010
- by Dylan Bourque
I'm seeing what I believe to be an erroneous/incorrect compiler error using the Visual Studio 2010 compiler. I'm in the process of up-porting our codebase from Visual Studio 2005 and I ran across a construct that was building correctly before but now generates a C2248 compiler error.
Obviously, the code snippet below has been generic-ized, but it…