template<typename T>
} || requires(T t) {
{ t.data() } -> mtp::convertible_to<u8 const*>;
{ t.size() } -> mtp::same_as<usize>;
}
Satisfied when From is implicitly and explicitly convertible to To.
Definition mtp.cppm:382
Satisfied when T and U are the same type.
Definition mtp.cppm:371
Concept for types that can be viewed as a string slice (must expose data() and size()).
Definition str.cppm:16
Concept for types that can be viewed as a string slice (must expose data() and size()).