Comment 9 for bug 2030797

Revision history for this message
In , Redi (redi) wrote :

Actually, if we don't care about upstream any more, we can improve the pre-C++20 version too:

template <typename... _IteratorTypes>
using __are_random_access_iterators
    = std::__or_<std::is_base_of<std::random_access_iterator_tag,
     std::__iter_category_t<_IteratorTypes>>...>;