From 743d833871cb01e7a775a11c5d7816524542ada2 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Thu, 4 Sep 2025 15:49:24 +0200 Subject: [PATCH] [mdspan.layout.left.cons] Fix typo in precondition. Here `other` is a layout mapping and layout mappings don't have this API to access the `i`th extent. They only have `extents()` to get the std::extents object. --- source/containers.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/containers.tex b/source/containers.tex index f8187b40a1..4a64c2c76f 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -22117,7 +22117,7 @@ \begin{itemize} \item If \tcode{extents_type::rank() > 1} is \tcode{true}, -then \tcode{other.stride(1)} equals \tcode{other.extents(0)}. +then \tcode{other.stride(1)} equals \tcode{other.extents().\newline extent(0)}. \item \tcode{other.required_span_size()} is representable as a value of type \tcode{index_type}.