micro-test-plus 6.0.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::detail::character Concept Reference

Concept satisfied by the character types. More...

#include <detail.h>

Concept definition

template<class T>
concept character = std::is_same_v<std::remove_cv_t<T>, char>
or std::is_same_v<std::remove_cv_t<T>, wchar_t>
or std::is_same_v<std::remove_cv_t<T>, char8_t>
or std::is_same_v<std::remove_cv_t<T>, char16_t>
or std::is_same_v<std::remove_cv_t<T>, char32_t>
Concept satisfied by the character types.
Definition detail.h:1631

Detailed Description

The character concept is satisfied when the type, ignoring the cv-qualifiers, is one of char, wchar_t, char8_t, char16_t, or char32_t. The comparators compare the arrays and the pointers of these types as strings (see basic_c_string); signed char and unsigned char are not characters, but bytes.

Template Parameters
TThe type to check.

Definition at line 1631 of file detail.h.