forked from boostorg/static_string
Removed the ability to disable exceptions in config and the null terminator optimization from master
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user