1
0
Fork 0
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:
bolero-MURAKAMI 2013-02-19 02:49:10 +09:00
parent fa1d769bdf
commit 1ef8a6a63b
64 changed files with 1570 additions and 254 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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