mirror of
https://github.com/kennethreitz/static_string.git
synced 2026-06-05 23:00:20 +00:00
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