2012-04-13 07:00:30 +00:00
|
|
|
#ifndef SPROUT_CONFIG_COMPILER_CLANG_HPP
|
|
|
|
#define SPROUT_CONFIG_COMPILER_CLANG_HPP
|
|
|
|
|
|
|
|
#if !__has_feature(cxx_constexpr)
|
|
|
|
# define SPROUT_NO_CONSTEXPR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !__has_feature(cxx_noexcept)
|
|
|
|
# define SPROUT_NO_NOEXCEPT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !__has_feature(cxx_alias_templates)
|
|
|
|
# define SPROUT_NO_TEMPLATE_ALIASES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !__has_feature(cxx_user_literals)
|
|
|
|
# define SPROUT_NO_USER_DEFINED_LITERALS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !__has_feature(cxx_delegating_constructors)
|
|
|
|
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
|
|
|
#endif
|
|
|
|
|
2012-07-05 08:39:19 +00:00
|
|
|
#if ((__GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_HAS_CONSTEXPR_CMATH_FUNCTION
|
|
|
|
#endif
|
|
|
|
|
2012-04-13 07:00:30 +00:00
|
|
|
#endif // #ifndef SPROUT_CONFIG_COMPILER_CLANG_HPP
|