1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/config/compiler/clang.hpp

25 lines
568 B
C++
Raw Normal View History

#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
#endif // #ifndef SPROUT_CONFIG_COMPILER_CLANG_HPP