diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-01-18 08:45:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-01-18 08:45:42 +0200 |
commit | 8470e4be41246ea85df34ac660e4e94e010a52a2 (patch) | |
tree | 774b4234b58604f14116265f8d3ed9221610983a | |
parent | ea413b91d756fa5fada2e18fd45b33484d78935f (diff) |
Update C++11 feature macros for VC++12 (2013)
-rw-r--r-- | odb/details/config-vc.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/odb/details/config-vc.h b/odb/details/config-vc.h index ab7164e..124255b 100644 --- a/odb/details/config-vc.h +++ b/odb/details/config-vc.h @@ -16,16 +16,15 @@ #if _MSC_VER >= 1600 # define ODB_CXX11 # define ODB_CXX11_NULLPTR -//# define ODB_CXX11_DELETED_FUNCTION -//# define ODB_CXX11_EXPLICIT_CONVERSION_OPERATOR -//# define ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT -//# define ODB_CXX11_VARIADIC_TEMPLATES -//# define ODB_CXX11_INITIALIZER_LIST - -// Strongly typed enums are supported starting from VC++11. -// # if _MSC_VER >= 1700 # define ODB_CXX11_ENUM +# if _MSC_VER >= 1800 +# define ODB_CXX11_DELETED_FUNCTION +# define ODB_CXX11_EXPLICIT_CONVERSION_OPERATOR +# define ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT +# define ODB_CXX11_VARIADIC_TEMPLATES +# define ODB_CXX11_INITIALIZER_LIST +# endif # endif #endif |