mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix for constexpr disabled
add sprout::adaptors::sized
This commit is contained in:
parent
2b8a8662af
commit
bcd7674cc0
84 changed files with 1758 additions and 1365 deletions
|
@ -11,10 +11,16 @@
|
|||
# define SPROUT_CONSTEXPR constexpr
|
||||
# define SPROUT_CONSTEXPR_OR_CONST constexpr
|
||||
# define SPROUT_STATIC_CONSTEXPR static constexpr
|
||||
#
|
||||
# define SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(EXPR) = EXPR
|
||||
# define SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(EXPR)
|
||||
#else // #ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
# define SPROUT_CONSTEXPR
|
||||
# define SPROUT_CONSTEXPR_OR_CONST const
|
||||
# define SPROUT_STATIC_CONSTEXPR static const
|
||||
#
|
||||
# define SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(EXPR)
|
||||
# define SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(EXPR) = EXPR
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
|
||||
#ifndef SPROUT_CONFIG_DISABLE_NOEXCEPT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue