STD::RANGES::SIZED_RANGE(3)

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

✨ NAME ✨

ok so bestie, welcome to the <ranges> glow-up: std::ranges::sized_range β€” [range.sized] the sized_range concept. that's the whole vibe. a concept. an icon. πŸ’…


🌸 SYNOPSIS 🌸

first things first, you gotta let it in:

#include <ranges>

πŸŽ€ Concept definition πŸŽ€

here's the actual definition, verbatim, no notes:

template<typename _Tp>
concept sized_range = range<_Tp>
  && requires(_Tp& __t) { ranges::size(__t); }

like. look at her. range<_Tp> has to hold and there has to be a valid ranges::size(__t) call on a non-const lvalue _Tp& named __t. both. no skipping. 🫢


πŸ’– Detailed Description πŸ’–

[range.sized] The sized_range concept. that's it, that's the section, it's short and it knows it. πŸ‘‘


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. not a human. not a bestie. a robot. and honestly? it ate. πŸ’€βœ¨


ok bye babe, this page came to you courtesy of libstdc++ and it lives at std::ranges::sized_range(3) in the Library Functions Manual β€” mwah, go read <ranges> and slay πŸ¦‹πŸ’œ

πŸ“¦ 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