Skip to content

Commit

Permalink
<ranges>: Remove "per LWG" comments (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperWig authored Jun 12, 2021
1 parent ae041ae commit 1866b84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stl/inc/ranges
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace ranges {

// clang-format off
// CONCEPT ranges::viewable_range
template <class _Rng> // Per proposed resolution of LWG-3481
template <class _Rng>
concept viewable_range = range<_Rng>
&& ((view<remove_cvref_t<_Rng>> && constructible_from<remove_cvref_t<_Rng>, _Rng>)
|| (!view<remove_cvref_t<_Rng>> && borrowed_range<_Rng>));
Expand Down Expand Up @@ -796,7 +796,7 @@ namespace ranges {
}
}

constexpr iota_view(_It _First, _Se _Last) noexcept( // Per LWG-3523
constexpr iota_view(_It _First, _Se _Last) noexcept(
is_nothrow_move_constructible_v<_Wi>&& is_nothrow_move_constructible_v<_Bo>) // strengthened
: _Value(_STD move(_First._Current)), _Bound(_STD move(_Bound_from(_Last))) {}

Expand Down Expand Up @@ -2903,7 +2903,7 @@ namespace ranges {
// clang-format off
friend constexpr void iter_swap(const _Iterator& _Left, const _Iterator& _Right) noexcept(
noexcept(_RANGES iter_swap(_Left._Inner, _Right._Inner)))
requires indirectly_swappable<_InnerIter> { // per LWG-3517
requires indirectly_swappable<_InnerIter> {
// clang-format on
#if _ITERATOR_DEBUG_LEVEL != 0
_Left._Check_dereference();
Expand Down Expand Up @@ -3318,7 +3318,7 @@ namespace ranges {
}

constexpr decltype(auto) operator++(int) {
if constexpr (forward_range<_BaseTy>) { // per LWG-3532
if constexpr (forward_range<_BaseTy>) {
auto _Tmp = *this;
++*this;
return _Tmp;
Expand Down

0 comments on commit 1866b84

Please sign in to comment.