Checks whether T is a pointer to a character type other than char: signed char, unsigned char, or a wide character type.
More...
#include <util.hpp>
template<typename T>
std::is_pointer_v<T> && (std::same_as<std::remove_const_t<std::remove_pointer_t<T>>, signed char> ||
std::same_as<std::remove_const_t<std::remove_pointer_t<T>>, unsigned char> ||
std::same_as<std::remove_const_t<std::remove_pointer_t<T>>, wchar_t> ||
std::same_as<std::remove_const_t<std::remove_pointer_t<T>>, char8_t> ||
std::same_as<std::remove_const_t<std::remove_pointer_t<T>>, char16_t> ||
std::same_as<std::remove_const_t<std::remove_pointer_t<T>>, char32_t>)
Checks whether T is a pointer to a character type other than char: signed char, unsigned char,...
Definition util.hpp:175
Checks whether T is a pointer to a character type other than char: signed char, unsigned char, or a wide character type.
Only a char pointer is a C string. These point at bytes or code units, so they are printed as addresses and compared as pointers.
- Template Parameters
-