Skip to content

Commit

Permalink
<ranges>: Drop one superfluous _Fake_copy_init<bool> where the ar…
Browse files Browse the repository at this point in the history
…gument type is always `bool` (#4465)
  • Loading branch information
yronglin committed Mar 16, 2024
1 parent 33854e5 commit 584144f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stl/inc/ranges
Original file line number Diff line number Diff line change
Expand Up @@ -3906,8 +3906,7 @@ namespace ranges {
}

_NODISCARD_FRIEND constexpr bool operator==(const _Iterator& _Left, const _Iterator& _Right) noexcept(
noexcept(_Fake_copy_init<bool>(
_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
Expand Down

0 comments on commit 584144f

Please sign in to comment.