Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Treleaven <[email protected]>
  • Loading branch information
Bolpat and ntrel authored Jun 27, 2024
1 parent fdc0b46 commit 5018128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/statement.dd
Original file line number Diff line number Diff line change
Expand Up @@ -833,15 +833,15 @@ $(CONSOLE
be allocated for it on the heap instead of the stack.
)

$(P $(B Important:) If apply functions catch any exceptions, ensure that those
$(P $(B Important:) If an apply function catches any exceptions, ensure that those
exceptions did not originate from the delegate. The user would expect
exceptions thrown from a `foreach` body to both terminate the loop, and propagate outside
the `foreach` body.
)

$(H4 $(LNAME2 template-op-apply, Template `opApply`))

$(P `opApply` and `opApplyReverse` can also be a function templates,
$(P `opApply` and `opApplyReverse` can also be function templates,
which can optionally infer the types of parameters based on the $(I ForeachStatement).
)

Expand Down

0 comments on commit 5018128

Please sign in to comment.