2015-12-06 05:34:37 +00:00
|
|
|
/*=============================================================================
|
2019-01-07 08:47:17 +00:00
|
|
|
Copyright (c) 2011-2019 Bolero MURAKAMI
|
2015-12-06 05:34:37 +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)
|
|
|
|
=============================================================================*/
|
2016-03-10 10:17:22 +00:00
|
|
|
#ifndef SPROUT_CONFIG_USER_CONFIG_HPP
|
|
|
|
#define SPROUT_CONFIG_USER_CONFIG_HPP
|
2015-12-06 05:34:37 +00:00
|
|
|
|
|
|
|
//
|
2016-03-10 10:17:22 +00:00
|
|
|
// Configuration to disable the language features
|
|
|
|
//
|
|
|
|
// If the user does not define, automatically defined according to the compiler.
|
2015-12-06 05:34:37 +00:00
|
|
|
//
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_CONSTEXPR
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_NOEXCEPT
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_TEMPLATE_ALIASES
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_USER_DEFINED_LITERALS
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_DELEGATING_CONSTRUCTORS
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_UNICODE_LITERALS
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_VARIABLE_TEMPLATES
|
|
|
|
|
|
|
|
//
|
2016-03-10 10:17:22 +00:00
|
|
|
// Configuration to forcibly enable the language features
|
|
|
|
//
|
|
|
|
// Suppress the automatic definition: SPROUT_CONFIG_DISABLE_***
|
|
|
|
// If a user definition is, invalidation is priority. (SPROUT_CONFIG_DISABLE_***)
|
2015-12-06 05:34:37 +00:00
|
|
|
//
|
|
|
|
//#define SPROUT_CONFIG_FORCE_CONSTEXPR
|
|
|
|
//#define SPROUT_CONFIG_FORCE_CXX14_CONSTEXPR
|
|
|
|
//#define SPROUT_CONFIG_FORCE_DEFAULTED_FUNCTIONS
|
|
|
|
//#define SPROUT_CONFIG_FORCE_DELETED_FUNCTIONS
|
|
|
|
//#define SPROUT_CONFIG_FORCE_EXPLICIT_CONVERSION_OPERATORS
|
|
|
|
//#define SPROUT_CONFIG_FORCE_NOEXCEPT
|
|
|
|
//#define SPROUT_CONFIG_FORCE_TEMPLATE_ALIASES
|
|
|
|
//#define SPROUT_CONFIG_FORCE_USER_DEFINED_LITERALS
|
|
|
|
//#define SPROUT_CONFIG_FORCE_DELEGATING_CONSTRUCTORS
|
|
|
|
//#define SPROUT_CONFIG_FORCE_UNICODE_LITERALS
|
|
|
|
//#define SPROUT_CONFIG_FORCE_VARIABLE_TEMPLATES
|
|
|
|
|
|
|
|
//
|
2016-03-10 10:17:22 +00:00
|
|
|
// Configuration you want to use an external library to implementation
|
2015-12-06 05:34:37 +00:00
|
|
|
//
|
|
|
|
//#define SPROUT_CONFIG_USE_SSCRISK_CEL
|
|
|
|
|
|
|
|
//
|
2016-03-10 10:17:22 +00:00
|
|
|
// Configuration to disable the function of the compiler
|
|
|
|
//
|
|
|
|
// If the user does not define, automatically defined according to the compiler.
|
2015-12-06 05:34:37 +00:00
|
|
|
//
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_BUILTIN_CMATH_FUNCTION
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_BUILTIN_COPYSIGN_FUNCTION
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_BUILTIN_BIT_OPERATION
|
|
|
|
|
|
|
|
//
|
2016-03-10 10:17:22 +00:00
|
|
|
// Configuration to switch the implementation details
|
2015-12-06 05:34:37 +00:00
|
|
|
//
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_LARGE_FLOAT_ROUNDING
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_SUPPORT_TEMPORARY_CONTAINER_ITERATION
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_SUPPORT_EFFICIENT_ARRAY_ITERATION
|
|
|
|
|
2016-03-10 10:17:22 +00:00
|
|
|
//#define SPROUT_CONFIG_DISABLE_USER_CONFIG
|
|
|
|
//#define SPROUT_CONFIG_DISABLE_AUTO_CONFIG
|
|
|
|
|
|
|
|
#endif // #ifndef SPROUT_CONFIG_USER_CONFIG_HPP
|