From 584144f4eec8c89019e3055351e1d5aee8d13da0 Mon Sep 17 00:00:00 2001 From: yronglin Date: Sat, 16 Mar 2024 13:40:31 +0800 Subject: [PATCH] ``: Drop one superfluous `_Fake_copy_init` where the argument type is always `bool` (#4465) --- stl/inc/ranges | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stl/inc/ranges b/stl/inc/ranges index ded381a1f7..30d22d9c4f 100644 --- a/stl/inc/ranges +++ b/stl/inc/ranges @@ -3906,8 +3906,7 @@ namespace ranges { } _NODISCARD_FRIEND constexpr bool operator==(const _Iterator& _Left, const _Iterator& _Right) noexcept( - noexcept(_Fake_copy_init( - _Left._Outer == _Right._Outer && _Left._Inner == _Right._Inner))) /* strengthened */ + noexcept(_Left._Outer == _Right._Outer && _Left._Inner == _Right._Inner)) /* strengthened */ requires _Deref_is_glvalue && forward_range<_Base> && equality_comparable<_InnerIter> { #if _ITERATOR_DEBUG_LEVEL != 0