Namespaces
Variants
Actions

std::ranges::subrange_kind

From cppreference.com
< cpp‎ | ranges
 
C++
 
Ranges library
Range adaptors
 
std::ranges::subrange
Defined in header <ranges>
enum class subrange_kind : bool {

    unsized,
    sized

};
(since C++20)

Specifies if a std::ranges::subrange models std::ranges::sized_range or not.

[edit] Constants

Enumerator Meaning
unsized specifies that the subrange does not model sized_range
sized specifies that the subrange does model sized_range

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant