C++Spec 1.1.0
BDD testing for C++
Loading...
Searching...
No Matches
CppSpec::Util::is_wide_character Concept Reference

Checks whether T is a character type that std::ostream does not print as a character: wchar_t, char8_t, char16_t or char32_t. More...

#include <util.hpp>

Concept definition

template<typename T>
concept is_wide_character = std::same_as<std::remove_cv_t<T>, wchar_t> || std::same_as<std::remove_cv_t<T>, char8_t> ||
std::same_as<std::remove_cv_t<T>, char16_t> || std::same_as<std::remove_cv_t<T>, char32_t>
Checks whether T is a character type that std::ostream does not print as a character: wchar_t,...
Definition util.hpp:162

Detailed Description

Checks whether T is a character type that std::ostream does not print as a character: wchar_t, char8_t, char16_t or char32_t.

Template Parameters
Ta type to check