| 583 | |
| 584 | template <class T, class TOp, size_t... Is> |
| 585 | constexpr void ForEachImpl(T&& t, TOp&& op, std::index_sequence<Is...>) { |
| 586 | #if _LIBCPP_STD_VER >= 17 |
| 587 | (..., op(std::get<Is>(std::forward<T>(t)))); |
| 588 | #else |
| 589 | ::ApplyToMany(std::forward<TOp>(op), std::get<Is>(std::forward<T>(t))...); |
| 590 | #endif |
| 591 | } |
| 592 | } // namespace NPrivate |
| 593 | |
| 594 | // check that TOp return true for all of element from tuple T |
no test coverage detected