From 141b40c7e2ffb7d07daa5e069bd42bfee0262938 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Mon, 20 Apr 2026 09:12:06 +0800 Subject: [PATCH] [const.wrap.class] Remove `constexpr` and `noexcept` from `operator,` As the overloaded `operator,` is deleted, `constexpr` and `noexcept` are meaningless, so it might be better to remove them for the sake of clarity. --- source/utilities.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utilities.tex b/source/utilities.tex index a284b4f137..6d1b1cd2bb 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -863,7 +863,7 @@ { return {}; } template<@\exposconcept{constexpr-param}@ L, @\exposconcept{constexpr-param}@ R> - friend constexpr auto operator,(L, R) noexcept = delete; + friend auto operator,(L, R) = delete; template<@\exposconcept{constexpr-param}@ L, @\exposconcept{constexpr-param}@ R> friend constexpr auto operator->*(L, R) noexcept -> constant_wrapper*(R::value)> { return {}; }