std::ranges::view(3)
β¨ std::ranges::view β the vibe check page π
okay bestie, welcome to std::ranges::view(3), from the Library Functions Manual π yes this is a real manpage, yes it's about a concept, and yes you're gonna get it in like two minutes. sit down, sip your lil drink π
πΈ NAME πΈ
std::ranges::view β [range.view] The ranges::view concept. that's the whole name section, periodt π
π SYNOPSIS π
first things first, you gotta let the compiler know you want this energy:
#include <ranges>
then here's the concept definition, exactly as written, no edits, no cap:
template<typename _Tp>
concept view = range<_Tp> && movable<_Tp> && enable_view<_Tp>
the way that's literally just three conditions chained with &&β¦ it's giving "simple on the outside, iconic on the inside" π
π¦ Detailed Description π¦
[range.view] The ranges::view concept.
and that's the detailed description fr fr π β it's the same one-liner as the name section, because this page is honestly just here to document the concept itself. a whole manpage for one concept. main character energy honestly π
quick note on what you're reading, since the definition is the whole story: a type _Tp is a view when all three of these line up β
range<_Tp>β it's gotta be a range, obviously πmovable<_Tp>β it's gotta be movable π«Άenable_view<_Tp>β and it's gotta haveenable_viewturned on for it β¨
all three, together, with &&. miss one and the concept justβ¦ doesn't hold. vibe check failed π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
so nobody hand-wrote this, it's Doxygen doing its lil thing off the source code, and honestly? slay π€π
heads up bestie: every line above is the whole original page β no options to list, no env vars, no exit statuses, no SEE ALSO, nothing hiding. this one is short and that's just the truth πΈ
that's it, that's the page π go forth and view responsibly, bestie. mwah π
this came to you from libstdc++, dated std::ranges::view(3) β the footer said so, and I would never gatekeep that from you β¨π¦ bye pookie π
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms