Skip to content

Commit 71389a0

Browse files
burblebeetkoeppe
authored andcommitted
LWG4170 contiguous_iterator should require to_address(I{})
1 parent d509d68 commit 71389a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/iterators.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,6 +1969,7 @@
19691969
\item \tcode{to_address(a) == addressof(*a)},
19701970
\item \tcode{to_address(b) == to_address(a) + D(b - a)},
19711971
\item \tcode{to_address(c) == to_address(a) + D(c - a)},
1972+
\item \tcode{to_address(I\{\})} is well-defined,
19721973
\item \tcode{ranges::iter_move(a)} has
19731974
the same type, value category, and effects as \tcode{std::move(*a)}, and
19741975
\item if \tcode{ranges::iter_swap(a, b)} is well-formed,

0 commit comments

Comments
 (0)