cplusplus / draft

C++ standards drafts
http://www.open-std.org/jtc1/sc22/wg21/
5.72k stars 751 forks source link

[res.on.requirements] Not sufficiently clear on transitiveness and disjunctions LWG 3429 #3912

Open JohelEGP opened 4 years ago

JohelEGP commented 4 years ago

-1- A sequence Args of template arguments is said to model a concept C if Args satisfies C (13.5.2 [temp.constr.decl]) and meets all semantic requirements (if any) given in the specification of C. -2- If the validity or meaning of a program depends on whether a sequence of template arguments models a concept, and the concept is satisfied but not modeled, the program is ill-formed, no diagnostic required. -3- If the semantic requirements of a declaration's constraints ([structure.requirements]) are not modeled at the point of use, the program is ill-formed, no diagnostic required.

With this wording:

timsong-cpp commented 4 years ago

https://cplusplus.github.io/LWG/issue3429