Problem :
Following code compiles in VS2008 but not in vs2013.
int a = 5; int b = 10;
std::_cpp_min(a, b);
Answer:
int a = 5; int b = 10;
(std::min)(a,b); //this should compile in both.
Following code compiles in VS2008 but not in vs2013.
int a = 5; int b = 10;
std::_cpp_min(a, b);
Answer:
int a = 5; int b = 10;
(std::min)(a,b); //this should compile in both.