From d0b3a6c5b470ec0f81616f6249d77cf41d297928 Mon Sep 17 00:00:00 2001 From: "S. B. Tam" Date: Thu, 18 Apr 2024 19:42:54 +0800 Subject: [PATCH 1/3] [range.utility.conv.general] Fix typo --- source/ranges.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ranges.tex b/source/ranges.tex index e0335c89d7..40a20d8878 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -2268,10 +2268,10 @@ \end{codeblock} \pnum -Let \exposid{container-appendable} be defined as follows: +Let \exposid{container-append} be defined as follows: \begin{codeblock} template -constexpr auto @\exposid{container-appendable}@(Container& c) { // \expos +constexpr auto @\exposid{container-append}@(Container& c) { // \expos return [&c](Ref&& ref) { if constexpr (requires { c.emplace_back(declval()); }) c.emplace_back(std::forward(ref)); From be4b556982a9459e072f5a024262e2190106fa5d Mon Sep 17 00:00:00 2001 From: "S. B. Tam" Date: Thu, 18 Apr 2024 20:00:14 +0800 Subject: [PATCH 2/3] Update ranges.tex --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index 40a20d8878..ea58ad7e1f 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -2271,7 +2271,7 @@ Let \exposid{container-append} be defined as follows: \begin{codeblock} template -constexpr auto @\exposid{container-append}@(Container& c) { // \expos +constexpr auto @\exposid{container-append}@(Container& c) { // \expos return [&c](Ref&& ref) { if constexpr (requires { c.emplace_back(declval()); }) c.emplace_back(std::forward(ref)); From 4ac8e832ac08a810737dee3c4d770bbc60004b36 Mon Sep 17 00:00:00 2001 From: "S. B. Tam" Date: Fri, 19 Apr 2024 07:39:20 +0800 Subject: [PATCH 3/3] Remove `class Ref` --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index ea58ad7e1f..32a3026dad 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -2270,7 +2270,7 @@ \pnum Let \exposid{container-append} be defined as follows: \begin{codeblock} -template +template constexpr auto @\exposid{container-append}@(Container& c) { // \expos return [&c](Ref&& ref) { if constexpr (requires { c.emplace_back(declval()); })