forked from boostorg/static_string
Simplified insert for iterators, fixed overlapping copies
This commit is contained in:
@ -19,11 +19,15 @@
|
||||
#endif
|
||||
|
||||
// Can we use [[nodiscard]]?
|
||||
#ifdef __has_attribute
|
||||
#if __has_attribute(nodiscard)
|
||||
#define BOOST_FIXED_STRING_NODISCARD [[nodiscard]]
|
||||
#else
|
||||
#define BOOST_FIXED_STRING_NODISCARD
|
||||
#endif
|
||||
#else
|
||||
#define BOOST_FIXED_STRING_NODISCARD
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_FIXED_STRING_USE_BOOST
|
||||
#include <boost/utility/string_view.hpp>
|
||||
|
Reference in New Issue
Block a user