aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFilippos Karapetis2014-10-28 14:26:19 +0200
committerFilippos Karapetis2014-10-28 14:26:19 +0200
commit22be7f4346e3f09a8d86a61f6d1b5e6c1b11b703 (patch)
tree83275d8f02964a0d6c5d40564e68d0f91eb41467 /common
parent84c2267734cea15ea8b2ecae3ca307d835dcfd60 (diff)
downloadscummvm-rg350-22be7f4346e3f09a8d86a61f6d1b5e6c1b11b703.tar.gz
scummvm-rg350-22be7f4346e3f09a8d86a61f6d1b5e6c1b11b703.tar.bz2
scummvm-rg350-22be7f4346e3f09a8d86a61f6d1b5e6c1b11b703.zip
COMMON: Add reference links for the enabled C++11 features in MSVC
Diffstat (limited to 'common')
-rw-r--r--common/c++11-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/c++11-compat.h b/common/c++11-compat.h
index 9fd252cc67..a56b79514c 100644
--- a/common/c++11-compat.h
+++ b/common/c++11-compat.h
@@ -32,6 +32,7 @@
// though.
//
#if !defined(nullptr) // XCode 5.0.1 has __cplusplus=199711 but defines this
+// MSVC 2010 and newer fully support nullptr: http://msdn.microsoft.com/en-us/library/hh567368.aspx
#if !defined(_MSC_VER) || _MSC_VER < 1600
#define nullptr 0
#endif
@@ -41,6 +42,7 @@
// Replacement for the override keyword. This allows compilation of code
// which uses it, but does not feature any semantic.
//
+// MSVC 2012 and newer fully support override: http://msdn.microsoft.com/en-us/library/hh567368.aspx
#if !defined(_MSC_VER) || _MSC_VER < 1700
#define override
#endif