Files
cppdraft_translate/cppdraft/res/on/requirements.md
2025-10-25 03:02:53 +03:00

1.4 KiB

[res.on.requirements]

16 Library introduction [library]

16.4 Library-wide requirements [requirements]

16.4.5 Constraints on programs [constraints]

16.4.5.11 Semantic requirements [res.on.requirements]

1

#

A sequence Args of template arguments is said tomodel a concept C if Args satisfies C ([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.