header_utils
Loading...
Searching...
No Matches
ghassanpl::bytelike Concept Reference

Represents any trivially copyable type that is trivially castable to an internal object representation (so a char range) More...

#include <bytes.h>

Concept definition

template<typename T>
concept ghassanpl::bytelike = (alignof(T) == alignof(std::byte) && sizeof(T) == sizeof(std::byte) && std::is_trivial_v<T>)
Represents any trivially copyable type that is trivially castable to an internal object representatio...
Definition bytes.h:19

Detailed Description

Represents any trivially copyable type that is trivially castable to an internal object representation (so a char range)

Definition at line 19 of file bytes.h.