header_utils
Loading...
Searching...
No Matches
ghassanpl::string_ops::charable Concept Reference

Can a type be bit-cast to a native/utf char type? More...

#include <string_ops.h>

Concept definition

template<typename T>
concept charable = (std::is_trivially_copyable_v<T> && (
same_size_and_alignment<T, wchar_t> ||
same_size_and_alignment<T, char> ||
same_size_and_alignment<T, char8_t> ||
same_size_and_alignment<T, char16_t> ||
same_size_and_alignment<T, char32_t>
))
Can a type be bit-cast to a native/utf char type?
Definition string_ops.h:90

Detailed Description

Can a type be bit-cast to a native/utf char type?

Definition at line 90 of file string_ops.h.