string_like Concept
Concept satisfied when T is a string, convertible to a std::basic_string_view of a character type. More...
Definition
concept micro_os_plus::micro_test_plus::detail::string_like = std::convertible_to<const T&, std::basic_string_view<char>>
or std::convertible_to<const T&, std::basic_string_view<wchar_t>>
or std::convertible_to<const T&, std::basic_string_view<char8_t>>
or std::convertible_to<const T&, std::basic_string_view<char16_t>>
or std::convertible_to<const T&, std::basic_string_view<char32_t>>
Description
Concept satisfied when T is a string, convertible to a std::basic_string_view of a character type.
- Template Parameters
-
T The type to be checked.
The string_like concept is satisfied when a const object of type T is implicitly convertible to a std::basic_string_view of char, wchar_t, char8_t, char16_t, or char32_t, as the standard strings and the string views are. It is used to detect the strings, which the formatter writes as text, not element by element (see formattable_range). A container that has only a member named npos, or that is not convertible, is not a string.
Definition at line 553 of file extension.h.
Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.