Sprout/sprout/config/compiler/visualc.hpp

40 lines
1.4 KiB
C++
Raw Normal View History

2013-08-08 09:54:33 +00:00
/*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
2013-08-08 09:54:33 +00:00
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_CONFIG_COMPILER_VISUALC_HPP
#define SPROUT_CONFIG_COMPILER_VISUALC_HPP
#if _MSC_FULL_VER < 190023026
# define SPROUT_NO_CXX11_CONSTEXPR
#endif
#define SPROUT_NO_STATIC_CONSTEXPR_INITIALIZATION
2015-10-13 13:18:55 +00:00
#if _MSC_FULL_VER < 180020827
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
# define SPROUT_NO_CXX11_TEMPLATE_ALIASES
# define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
#endif
2013-07-06 16:09:35 +00:00
#if _MSC_FULL_VER < 170051025 || !defined(SPROUT_MSVC_ENABLE_2012_NOV_CTP)
# define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
2013-09-17 11:57:07 +00:00
#endif
2015-10-13 13:18:55 +00:00
#if _MSC_FULL_VER < 190023026
# define SPROUT_NO_CXX11_NOEXCEPT
# define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
# define SPROUT_NO_CXX11_UNICODE_LITERALS
#endif
2014-02-20 15:25:55 +00:00
#define SPROUT_NO_CXX11_ATTRIBUTES
2015-10-13 13:18:55 +00:00
#if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
2016-04-05 02:57:06 +00:00
# define SPROUT_NO_CXX14_CONSTEXPR
2015-10-13 13:18:55 +00:00
#endif
#if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
2016-04-05 02:57:06 +00:00
# define SPROUT_NO_CXX14_VARIABLE_TEMPLATES
2015-10-13 13:18:55 +00:00
#endif
#endif // #ifndef SPROUT_CONFIG_COMPILER_VISUALC_HPP