std::ranges::viewable_range(3cxx)
π NAME π
std::ranges::viewable_range β A range which can be safely converted to a view. Ok bestie, you're in the 3cxx manual, and this is the page for that exact concept. She's giving "range that can become a view without things going feral." Periodt. β¨
π¦ 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. That's the whole description, no cap. If you're wondering why it exists, it's literally the vibe check for converting a range into a view. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
So no human author, just Doxygen doing its automated main character thing. π€β¨
Okurrr, that's the page! Source/version: libstdc++. Date: not listed on this one, so she's undated and timeless. Bye bestie, slay! π«Άππ
π¦ where this page comes from
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- ubuntu stonking: libstdc++-16-doc 16.2.0-3ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms