Name: requires | Association: none |
Category: informational | Properties: default |
|
Clause groups
requirementSemantics
The requires directive specifies features that an implementation must support for correct execution and requirements for the execution of all code in the current compilation unit. The behavior that a requirement clause specifies may override the normal behavior specified elsewhere in this document. Whether an implementation supports the feature that a given requirement clause specifies is implementation defined.The clauses of a requires directive are added to the requires trait in the OpenMP context for all program points that follow the directive.
Restrictions
The restrictions to the requires directive are as follows:A requires directive that specifies the atomic_default_mem_order requirement must not appear lexically after any atomic construct on which memory-order-clause is not specified.