std::ranges::viewable_range - Man Page

A range which can be safely converted to a view.

Synopsis

#include <ranges>

Concept definition

template<typename _Tp>
concept std::ranges::viewable_range =  range<_Tp>
      && ((view<remove_cvref_t<_Tp>> && constructible_from<remove_cvref_t<_Tp>, _Tp>)
          || (!view<remove_cvref_t<_Tp>>
              && (is_lvalue_reference_v<_Tp>
                  || (movable<remove_reference_t<_Tp>>
                      && !__detail::__is_initializer_list<remove_cvref_t<_Tp>>))))

Detailed Description

A range which can be safely converted to a view.

Definition at line 703 of file ranges.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

Wed Sep 7 2022 libstdc++