mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add sprout::string_ref
support conversion array-like container iterator to pointer
This commit is contained in:
parent
fa1d769bdf
commit
1ef8a6a63b
64 changed files with 1570 additions and 254 deletions
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_explicit_conversions)
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_noexcept)
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
#ifndef SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_HAS_DELETED_FUNCTIONS
|
||||
#endif
|
||||
#ifndef SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_HAS_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
#ifndef SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_HAS_NOEXCEPT
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
#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
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
# 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
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
#ifndef SPROUT_CONFIG_COMPILER_VACPP_HPP
|
||||
#define SPROUT_CONFIG_COMPILER_VACPP_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#if !__IBMCPP_CONSTEXPR
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
#endif
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#if !__IBMCPP_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue