From f5e22890c67d8979d24077f3f3278861bbdab14a Mon Sep 17 00:00:00 2001 From: Dmitriy Sobolev Date: Tue, 5 Aug 2025 21:52:27 +0100 Subject: [PATCH] Fix a typo: iter_difference_t -> iter_difference_t iter_diffrence_t must be used according to https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3179r9.htm --- source/algorithms.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/algorithms.tex b/source/algorithms.tex index c9ab8d9d3c..376dc6bafb 100644 --- a/source/algorithms.tex +++ b/source/algorithms.tex @@ -13684,7 +13684,7 @@ A type \tcode{I} models \exposconcept{nothrow-random-access-iterator} only if no exceptions are thrown from comparisons of valid iterators, or the \tcode{-}, \tcode{+}, \tcode{-=}, \tcode{+=}, \tcode{[]} operators -on valid values of type \tcode{I} and \tcode{iter_difference_t}. +on valid values of type \tcode{I} and \tcode{iter_difference_t}. \begin{note} This concept allows some \libconcept{random_access_iterator}\iref{iterator.concept.random.access} operations to throw exceptions.