Don't confuse Glib::ustring with std::string
This commit is contained in:
@@ -441,7 +441,8 @@ struct is_std_string_like : std::false_type {};
|
||||
template <typename T>
|
||||
struct is_std_string_like<T, void_t<decltype(std::declval<T>().find_first_of(
|
||||
typename T::value_type(), 0))>>
|
||||
: std::true_type {};
|
||||
: std::is_convertible<decltype(std::declval<T>().data()),
|
||||
const typename T::value_type*> {};
|
||||
|
||||
// Returns true iff the literal encoding is UTF-8.
|
||||
constexpr auto is_utf8_enabled() -> bool {
|
||||
|
||||
Reference in New Issue
Block a user