std::ranges::view(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 2 versions
, in arch rolling, fedora 44

✨ 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 have enable_view turned 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