mimic++ v4
Loading...
Searching...
No Matches
mimicpp::case_foldable_string Concept Reference

Determines, whether the given type supports string normalization. More...

#include <String.hpp>

Concept definition

template<typename String>
&& requires(const string_case_fold_converter<string_char_t<String>> converter, string_view_t<String> view)
{
{ std::invoke(converter, std::move(view)) } -> std::ranges::forward_range;
}
&& requires(std::invoke_result_t<string_case_fold_converter<string_char_t<String>>, string_view_t<String>> normalized)
{
requires std::same_as<
std::ranges::range_value_t<decltype(normalized)>>;
}
Determines, whether the given type supports string normalization.
Definition String.hpp:377
Determines, whether the given type can be used as a string-type.
Definition String.hpp:335
decltype(string_traits< std::remove_cvref_t< T > >::view(std::declval< T & >())) string_view_t
Computes the view type for the given string.
Definition String.hpp:253
typename string_traits< std::remove_cvref_t< T > >::char_t string_char_t
Computes the character type for the given string.
Definition String.hpp:260

Detailed Description

Determines, whether the given type supports string normalization.