# std::ranges::subrange_kind

> C++ Atlas: `cppatlas.com/w/cpp/ranges/subrange_kind` | Source: https://en.cppreference.com/w/cpp/ranges/subrange_kind | Domain: Ranges | Standards: C++20

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

## Official Specification Summary (cppreference)

```cpp
// 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.

### Constants

**Name — Explanation**

- `unsized`: specifies that the `subrange` does not model `sized_range`
- `sized`: specifies that the `subrange` does model `sized_range`

---
Attribution: content from https://en.cppreference.com/w/cpp/ranges/subrange_kind (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.