Skip to content

Commit 019260f

Browse files
jensmaurertkoeppe
authored andcommitted
[const.wrap.class] Remove superfluous parameter in trailing requires clause
Fixes NB US 80-148 (C++26 CD).
1 parent 1844b9d commit 019260f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/meta.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@
768768
// call and index
769769
template<@\exposconcept{constexpr-param}@ T, @\exposconcept{constexpr-param}@... Args>
770770
constexpr auto operator()(this T, Args...) noexcept
771-
requires requires(Args...) { constant_wrapper<T::value(Args::value...)>(); }
771+
requires requires { constant_wrapper<T::value(Args::value...)>(); }
772772
{ return constant_wrapper<T::value(Args::value...)>{}; }
773773
template<@\exposconcept{constexpr-param}@ T, @\exposconcept{constexpr-param}@... Args>
774774
constexpr auto operator[](this T, Args...) noexcept

0 commit comments

Comments
 (0)