std::ranges::subrange_kind(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’… NAME πŸ’…

std::ranges::subrange_kind - std::ranges::subrange_kind ✨

okay so this is the page for std::ranges::subrange_kind(3) from the C++ Standard Libary manual. yes bestie, we’re in the standard library section, put your reading glasses on 🫢

✨ Synopsis ✨

Defined in header <ranges> 🌸

          enum class subrange_kind : bool {

              unsized,                       (since C++20)
              sized

          };

This little enum is the vibe check for std::ranges::subrange: it specifies if a std::ranges::subrange models std::ranges::sized_range or not. no cap, that’s literally its whole job πŸ’…

🌈 Constant Explanation 🌈

  • unsized β€” specifies that the subrange does not model sized_range πŸ™ˆ
  • sized β€” specifies that the subrange does model sized_range πŸ‘‘

xoxo, bestie πŸ’– β€” this came from http://cppreference.com, dated 2024.06.10, and the manual page is std::ranges::subrange_kind(3) πŸŽ€βœ¨

πŸ“¦ where this page comes from