mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix for VC++11
This commit is contained in:
parent
5597dcec9b
commit
8b80b159c8
148 changed files with 336 additions and 181 deletions
|
@ -17,6 +17,20 @@
|
|||
# define SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(EXPR) = EXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
|
||||
#ifndef SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL = default;
|
||||
# define SPROUT_DEFAULTED_DESTRUCTOR_DECL = default;
|
||||
#else // #ifndef SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL {}
|
||||
# define SPROUT_DEFAULTED_DESTRUCTOR_DECL {}
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_DEFAULTED_FUNCTIONS
|
||||
|
||||
#ifndef SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
# define SPROUT_DELETED_FUNCTION_DECL = delete;
|
||||
#else // #ifndef SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
# define SPROUT_DELETED_FUNCTION_DECL ;
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
|
||||
#ifndef SPROUT_CONFIG_DISABLE_NOEXCEPT
|
||||
# define SPROUT_NOEXCEPT noexcept
|
||||
# define SPROUT_NOEXCEPT_EXPR(EXPR) noexcept(EXPR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue