I'm working on a rather large library that I'm designing to be portable across compilers and platforms. The main language being used is C++11, however I'm trying to provide fallbacks using preprocessor macros for compilers that do not yet provide full conformance.
GCC has a full list of all the supported/unsupported C++11 features, along with the version in which they first provided support for it -- however I can't seem to find any equivalent listing for MSVC. In fact, the only tables I can find that list support, strictly list the Visual Studios version in which it was first introduced, but not the MSVC version.
So my question is: What is the internal version number in which support is first introduced for C++11 features in MSVC? I find it hard to imagine that changes are only made every full version release.
If there isn't an answer for this, would that mean I'd have to target it based on the Visual Studio version? If so, how can I translate the version based strictly by its name to the internal __MSC_VER and __MSC_FULL_VER?
Aucun commentaire:
Enregistrer un commentaire