Whenever the
Effects: element specifies that the semantics of some function
F are
Equivalent to some code sequence, then the various elements are
interpreted as follows
. If
F's semantics specifies a
Requires: element, then
that requirement is logically imposed prior to the
equivalent-to semantics
. Next, the semantics of the code sequence are determined by the
Requires:,
Effects:,
Synchronization:,
Postconditions:,
Returns:,
Throws:,
Complexity:,
Remarks:, and
Error conditions:
specified for the function invocations contained in the code sequence
. The value
returned from
F is specified by
F's
Returns: element, or if
F
has no
Returns: element, a non-
void return from
F is specified by the
return statements in the code sequence
. If
F's semantics contains a
Throws:,
Postconditions:, or
Complexity: element, then that supersedes any occurrences of that
element in the code sequence
.For non-reserved replacement and handler functions,
Clause
[language.support] specifies two behaviors for the functions in question:
their required and default behavior
. The
required behavior
describes the semantics of a function definition provided by
either the implementation or a C++ program
. Where no distinction is explicitly made in the description, the
behavior described is the required behavior
.