Skip to content

Commit f5e2289

Browse files
Fix a typo: iter_difference_t<T> -> iter_difference_t<I>
iter_diffrence_t<I> must be used according to https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3179r9.htm
1 parent c3bd02a commit f5e2289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13684,7 +13684,7 @@
1368413684
A type \tcode{I} models \exposconcept{nothrow-random-access-iterator}
1368513685
only if no exceptions are thrown from comparisons of valid iterators,
1368613686
or the \tcode{-}, \tcode{+}, \tcode{-=}, \tcode{+=}, \tcode{[]} operators
13687-
on valid values of type \tcode{I} and \tcode{iter_difference_t<T>}.
13687+
on valid values of type \tcode{I} and \tcode{iter_difference_t<I>}.
1368813688
\begin{note}
1368913689
This concept allows some \libconcept{random_access_iterator}\iref{iterator.concept.random.access}
1369013690
operations to throw exceptions.

0 commit comments

Comments
 (0)