Closed timblechmann closed 1 year ago
i've done some more experiments of going through boost::core::string_view
. there are a few caveats, though:
boost::core::string_view
implicitly assumes std::char_traits<CharT>
static_strings::basic_string_view
a boost::basic_string_view
it would certainly be a cleaner approach, though
char traits is a design flaw in C++
Obsoleted by #45
static_string
lacks the comparison operators to interact withstd::string
andstd::string_view
. this limits its usefulness when interacting with these types. e.g. when using astring_view
to perform a lookup in astd::map<static_string, ...>