[all-commits] [llvm/llvm-project] 868591: [libc++][ranges] Fix `iota_view`'s constructor's i...

Hui via All-commits all-commits at lists.llvm.org
Fri May 12 11:22:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 868591501c61bc1aa56da537bab85cc67439f16d
      https://github.com/llvm/llvm-project/commit/868591501c61bc1aa56da537bab85cc67439f16d
  Author: Hui <hui.xie0621 at gmail.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M libcxx/include/__ranges/iota_view.h
    M libcxx/test/std/ranges/range.factories/range.iota.view/ctor.first.last.pass.cpp

  Log Message:
  -----------
  [libc++][ranges] Fix `iota_view`'s constructor's incorrect constraint

One of the overload of the constructors should check Bound is not unreachable_sentinel_t, instead of the Start

Differential Revision: https://reviews.llvm.org/D150206




More information about the All-commits mailing list