What's a good/best way to toggle some function declarations based on VS version?
context: I need to build on linux and windows and keep hitting cases where GCC compiles fine but VS2012 lacks some c++11 features. I'd like to #ifdef out the unsupported syntax so that it can be used right now on linux and easily enabled later for VS2013 support.
features like default function template parameters are supposedly good with vs2013: http://blogs.msdn.com/b/vcblog/archive/2013/06/27/what-s-new-for-visual-c-developers-in-vs2013-preview.aspx
//syntax fail; can this be wrapped with "If GCC or VSVERSION > XYZ" ?
template <typename T/*=std::complex<double>*/> void setImpedance(T impedance);