Partially revert "[llvm] Repair the modules build with C++17"
This reverts commit db008af501 because
this now breaks the non-module build...
This commit is contained in:
parent
c012408453
commit
860efb10b4
|
|
@ -725,8 +725,8 @@ class zip_shortest : public zip_common<zip_shortest<Iters...>, Iters...> {
|
||||||
template <size_t... Ns>
|
template <size_t... Ns>
|
||||||
bool test(const zip_shortest<Iters...> &other,
|
bool test(const zip_shortest<Iters...> &other,
|
||||||
std::index_sequence<Ns...>) const {
|
std::index_sequence<Ns...>) const {
|
||||||
return all_of(std::array{std::get<Ns>(this->iterators) !=
|
return all_of(std::initializer_list<bool>{std::get<Ns>(this->iterators) !=
|
||||||
std::get<Ns>(other.iterators)...},
|
std::get<Ns>(other.iterators)...},
|
||||||
identity<bool>{});
|
identity<bool>{});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue