mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
add compiler-config: SPROUT_NO_CXX14_CONSTEXPR
This commit is contained in:
parent
a786a7ccb1
commit
05a1ebfa85
20 changed files with 229 additions and 188 deletions
|
@ -7,81 +7,90 @@
|
|||
// SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
# ifdef SPROUT_NO_CONSTEXPR
|
||||
# ifdef SPROUT_NO_CXX11_CONSTEXPR
|
||||
# define SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
# endif // #ifdef SPROUT_NO_CONSTEXPR
|
||||
# endif // #ifdef SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
# ifdef SPROUT_NO_CXX14_CONSTEXPR
|
||||
# define SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
# endif // #ifdef SPROUT_NO_CXX14_CONSTEXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
||||
# ifdef SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# ifdef SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
||||
# endif // #ifdef SPROUT_NO_CONSTEXPR
|
||||
# endif // #ifdef SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
# ifdef SPROUT_NO_DELETED_FUNCTIONS
|
||||
# ifdef SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
# define SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
# endif // #ifdef SPROUT_NO_CONSTEXPR
|
||||
# endif // #ifdef SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
||||
# ifdef SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# ifdef SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
||||
# endif // #ifdef SPROUT_NO_CONSTEXPR
|
||||
# endif // #ifdef SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_NOEXCEPT
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_NOEXCEPT
|
||||
# ifdef SPROUT_NO_NOEXCEPT
|
||||
# ifdef SPROUT_NO_CXX11_NOEXCEPT
|
||||
# define SPROUT_CONFIG_DISABLE_NOEXCEPT
|
||||
# endif // #ifdef SPROUT_NO_NOEXCEPT
|
||||
# endif // #ifdef SPROUT_NO_CXX11_NOEXCEPT
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_NOEXCEPT
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_TEMPLATE_ALIASES
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_TEMPLATE_ALIASES
|
||||
# ifdef SPROUT_NO_TEMPLATE_ALIASES
|
||||
# ifdef SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
# define SPROUT_CONFIG_DISABLE_TEMPLATE_ALIASES
|
||||
# endif // #ifdef SPROUT_NO_TEMPLATE_ALIASES
|
||||
# endif // #ifdef SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_TEMPLATE_ALIASES
|
||||
|
||||
//
|
||||
// SPROUT_USE_USER_DEFINED_LITERALS
|
||||
//
|
||||
#ifndef SPROUT_USE_USER_DEFINED_LITERALS
|
||||
# ifdef SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# ifdef SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
# define SPROUT_CONFIG_DISABLE_USER_DEFINED_LITERALS
|
||||
# endif // #ifdef SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# endif // #ifdef SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#endif // #ifndef SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_DELEGATING_CONSTRUCTORS
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_DELEGATING_CONSTRUCTORS
|
||||
# ifdef SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# ifdef SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_CONFIG_DISABLE_DELEGATING_CONSTRUCTORS
|
||||
# endif // #ifdef SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# endif // #ifdef SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_DELEGATING_CONSTRUCTORS
|
||||
|
||||
//
|
||||
// SPROUT_CONFIG_DISABLE_UNICODE_LITERALS
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_UNICODE_LITERALS
|
||||
# ifdef SPROUT_NO_UNICODE_LITERALS
|
||||
# ifdef SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
# define SPROUT_CONFIG_DISABLE_UNICODE_LITERALS
|
||||
# endif // #ifdef SPROUT_NO_UNICODE_LITERALS
|
||||
# endif // #ifdef SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_UNICODE_LITERALS
|
||||
|
||||
//
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
# include <sprout/config/compiler/visualc.hpp>
|
||||
#endif
|
||||
|
||||
#include <sprout/config/compiler/no_cxx11_future.hpp>
|
||||
#include <sprout/config/compiler/no_future.hpp>
|
||||
#include <sprout/config/compiler/has_future.hpp>
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_BORLAND_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_BORLAND_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_BORLAND_HPP
|
||||
|
|
|
@ -2,42 +2,44 @@
|
|||
#define SPROUT_CONFIG_COMPILER_CLANG_HPP
|
||||
|
||||
#if !__has_feature(cxx_constexpr)
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_defaulted_functions)
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_deleted_functions)
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_explicit_conversions)
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_noexcept)
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_alias_templates)
|
||||
# define SPROUT_NO_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_user_literals)
|
||||
# define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_delegating_constructors)
|
||||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_unicode_literals)
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
# define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#if !defined(SPROUT_NO_CONSTEXPR)
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#if !defined(SPROUT_NO_CXX11_CONSTEXPR)
|
||||
# define SPROUT_WORKAROUND_NOT_TERMINATE_RECURSIVE_CONSTEXPR_FUNCTION_TEMPLATE
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_CODEGEAR_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_CODEGEAR_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_CODEGEAR_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP
|
||||
|
|
|
@ -2,39 +2,39 @@
|
|||
#define SPROUT_CONFIG_COMPILER_GCC_HPP
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
# define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#if ((__GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
|
@ -45,4 +45,6 @@
|
|||
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
|
||||
#endif
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_GCC_XML_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_GCC_XML_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_XML_HPP
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_HAS_FUTURE_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_HAS_FUTURE_HPP
|
||||
|
||||
#ifndef SPROUT_NO_CONSTEXPR
|
||||
#ifndef SPROUT_NO_CXX11_CONSTEXPR
|
||||
# define SPROUT_HAS_CONSTEXPR
|
||||
#endif
|
||||
#ifndef SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#ifndef SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_HAS_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
#ifndef SPROUT_NO_DELETED_FUNCTIONS
|
||||
#ifndef SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
# define SPROUT_HAS_DELETED_FUNCTIONS
|
||||
#endif
|
||||
#ifndef SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#ifndef SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_HAS_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
#ifndef SPROUT_NO_NOEXCEPT
|
||||
#ifndef SPROUT_NO_CXX11_NOEXCEPT
|
||||
# define SPROUT_HAS_NOEXCEPT
|
||||
#endif
|
||||
#ifndef SPROUT_NO_TEMPLATE_ALIASES
|
||||
#ifndef SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
# define SPROUT_HAS_TEMPLATE_ALIASES
|
||||
#endif
|
||||
#ifndef SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#ifndef SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
# define SPROUT_HAS_USER_DEFINED_LITERALS
|
||||
#endif
|
||||
#ifndef SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#ifndef SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_HAS_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
#ifndef SPROUT_NO_UNICODE_LITERALS
|
||||
#ifndef SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
# define SPROUT_HAS_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_METROWERKS_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_METROWERKS_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_METROWERKS_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_MPW_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_MPW_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_MPW_HPP
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_NO_CXX11_FUTURE_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_NO_CXX11_FUTURE_HPP
|
||||
|
||||
#ifdef SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif
|
||||
#ifdef SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#endif
|
||||
#ifdef SPROUT_NO_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#endif
|
||||
#ifdef SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_UNICODE_LITERALS
|
||||
# define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_NO_CXX11_FUTURE_HPP
|
32
sprout/config/compiler/no_future.hpp
Normal file
32
sprout/config/compiler/no_future.hpp
Normal file
|
@ -0,0 +1,32 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_NO_FUTURE_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_NO_FUTURE_HPP
|
||||
|
||||
#ifdef SPROUT_NO_CXX11_CONSTEXPR
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_NOEXCEPT
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_NO_FUTURE_HPP
|
|
@ -2,15 +2,17 @@
|
|||
#define SPROUT_CONFIG_COMPILER_PATHSCALE_HPP
|
||||
|
||||
#if __PATHCC__ >= 4
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_NO_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
# define SPROUT_NO_CXX11_CONSTEXPR
|
||||
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_CXX11_NOEXCEPT
|
||||
# define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
# define SPROUT_NO_CXX14_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_PATHSCALE_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_PGI_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_PGI_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_PGI_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP
|
||||
|
|
|
@ -2,17 +2,19 @@
|
|||
#define SPROUT_CONFIG_COMPILER_VACPP_HPP
|
||||
|
||||
#if !__IBMCPP_CONSTEXPR
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#if !__IBMCPP_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_VACPP_HPP
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_VISUALC_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_VISUALC_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
#define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_VISUALC_HPP
|
||||
|
|
|
@ -27,7 +27,11 @@
|
|||
//
|
||||
// SPROUT_CXX14_CONSTEXPR
|
||||
//
|
||||
#define SPROUT_CXX14_CONSTEXPR
|
||||
#ifndef SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
# define SPROUT_CXX14_CONSTEXPR constexpr
|
||||
#else // #ifndef SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
# define SPROUT_CXX14_CONSTEXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
|
||||
//
|
||||
// SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
|
|
Loading…
Reference in a new issue