[all-commits] [llvm/llvm-project] 98e4fd: [libcxx][ranges] Fix `ranges::empty` when begin, e...

Zoe Carver via All-commits all-commits at lists.llvm.org
Thu May 13 10:08:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98e4fd0701d0c65229db876ce338c723231d8cb4
      https://github.com/llvm/llvm-project/commit/98e4fd0701d0c65229db876ce338c723231d8cb4
  Author: zoecarver <z.zoelec2 at gmail.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M libcxx/include/__ranges/empty.h
    M libcxx/test/std/ranges/range.access/range.prim/empty.pass.cpp

  Log Message:
  -----------
  [libcxx][ranges] Fix `ranges::empty` when begin, end, and empty members are provided.

Before this commit, we'd get a compilation error because the operator() overload was ambiguous.

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




More information about the All-commits mailing list