std::ranges::borrowed_range(3cxx)
okay bestie, welcome to std::ranges::borrowed_range(3cxx) π it's a tiny page, but it's important, and we're gonna read it together like a group chat. no cap. β¨
π NAME π
std::ranges::borrowed_range - [range.range] The borrowed_range concept.
like, that's the name and the whole concept in one line. iconic. π
β¨ SYNOPSIS β¨
first, you gotta pull in the ranges header:
#include <ranges>
πΈ Concept definition πΈ
here's the concept itself, bestie β keep it exact, no editing:
template<typename _Tp>
concept std::ranges::borrowed_range = range<_Tp> && __detail::__maybe_borrowed_range<_Tp>
π Detailed Description π
[range.range] The borrowed_range concept.
that's it. that's the description. short and slay. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
so it wasn't hand-written by a person, it was generated by Doxygen for libstdc++ β robot chic, honestly. π€β¨
okay bye bestie π«Ά this page came from libstdc++ and the manual name is std::ranges::borrowed_range(3cxx). the footer didn't give us a date, so we're not gonna invent one. mwah ππ
π¦ 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