From 28ebe5ba52bbaccf6a8d81144eee8ccd08d05d8e Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Sun, 7 May 2023 18:26:01 -0400 Subject: [PATCH] [flat.set.modifiers] `(first, last)` should be `rg` Restore consistency with [flat.map.modifiers]/13, which already uses `ranges::distance(rg)`. --- source/containers.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/containers.tex b/source/containers.tex index 6210e070b1..71dae1dcdc 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -16955,7 +16955,7 @@ \pnum \complexity $N$ + $M \log M$, where $N$ is \tcode{size()} before the operation and $M$ -is \tcode{distance(first, last)}. +is \tcode{ranges::distance(rg)}. \pnum \remarks