Skip to content

Commit

Permalink
LWG3277 Pre-increment on prvalues is not a requirement of weakly_incr…
Browse files Browse the repository at this point in the history
…ementable

Also fixes NB US 261 (C++20 CD).
  • Loading branch information
Dawn Perchik authored and zygoloid committed Nov 20, 2019
1 parent 2e510ae commit cd4c650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@
\tcode{(a + D(x + y))} is equal to \tcode{((a + x) + y)}.
\item \tcode{(a + D(0))} is equal to \tcode{a}.
\item If \tcode{(a + D(n - 1))} is valid, then
\tcode{(a + n)} is equal to \tcode{++(a + D(n - 1))}.
\tcode{(a + n)} is equal to \tcode{[](I c)\{ return ++c; \}}.
\item \tcode{(b += -n)} is equal to \tcode{a}.
\item \tcode{(b -= n)} is equal to \tcode{a}.
\item \tcode{addressof(b -= n)} is equal to \tcode{addressof(b)}.
Expand Down

0 comments on commit cd4c650

Please sign in to comment.