fix for VC++11

This commit is contained in:
bolero-MURAKAMI 2012-12-17 23:10:23 +09:00
parent 5597dcec9b
commit 8b80b159c8
148 changed files with 336 additions and 181 deletions

View file

@ -5,6 +5,14 @@
# define SPROUT_NO_CONSTEXPR
#endif
#if !__has_feature(cxx_defaulted_functions)
# define SPROUT_NO_DEFAULTED_FUNCTIONS
#endif
#if !__has_feature(cxx_deleted_functions)
# define SPROUT_NO_DELETED_FUNCTIONS
#endif
#if !__has_feature(cxx_noexcept)
# define SPROUT_NO_NOEXCEPT
#endif
@ -21,6 +29,10 @@
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif
#if !__has_feature(cxx_unicode_literals)
# define SPROUT_NO_UNICODE_LITERALS
#endif
#if !defined(SPROUT_NO_CONSTEXPR)
# define SPROUT_WORKAROUND_NOT_TERMINATE_RECURSIVE_CONSTEXPR_FUNCTION_TEMPLATE
#endif