HomePhabricator

[libcxx][ranges] Fix `ranges::empty` when begin, end, and empty members are…

Authored by zoecarver on May 11 2021, 11:14 AM.

Description

[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