Removed the ability to disable exceptions in config and the null terminator optimization from master

This commit is contained in:
Krystian Stasiowski
2020-02-07 13:50:14 -05:00
parent 3cc8217f23
commit db36c31038
3 changed files with 167 additions and 258 deletions

View File

@ -14,12 +14,6 @@
// Are we dependent on Boost?
// #define BOOST_STATIC_STRING_STANDALONE
// Disable exceptions and their associated checks
// #define BOOST_STATIC_STRING_NO_EXCEPTIONS
// Opt-in to the null terminator optimization
// #define BOOST_STATIC_STRING_NULL_OPTIMIZATION
// Can we have deduction guides?
#if __cpp_deduction_guides >= 201703L
#define BOOST_STATIC_STRING_USE_DEDUCT
@ -104,14 +98,6 @@
#define BOOST_STATIC_STRING_CPP11_CONSTEXPR constexpr
#endif
#ifdef BOOST_STATIC_STRING_NO_EXCEPTIONS
#define BOOST_STATIC_STRING_NO_EXCEPTIONS_NOEXCEPT noexcept
#define BOOST_STATIC_STRING_THROW_IF(cond, ex)
#define BOOST_STATIC_STRING_THROW(ex)
#else
#define BOOST_STATIC_STRING_NO_EXCEPTIONS_NOEXCEPT
#endif
// Boost and non-Boost versions of utilities
#ifndef BOOST_STATIC_STRING_STANDALONE
#ifndef BOOST_STATIC_STRING_THROW_IF

File diff suppressed because it is too large Load Diff