A
nested-requirement can be used
to specify additional constraints in terms of local parameters
. [
Example 1:
template<typename U> concept C = sizeof(U) == 1;
template<typename T> concept D = requires (T t) {
requires C<decltype (+t)>;
};
D<T> is satisfied if
sizeof(decltype (+t)) == 1 (
[temp.constr.atomic])
. —
end example]