# std::generator<Ref,V,Allocator>::end

> C++ Atlas: `cppatlas.com/w/cpp/coroutine/generator/end` | Source: https://en.cppreference.com/w/cpp/coroutine/generator/end | Domain: Coroutine support | Standards: C++23

Equivalent to return std::default_sentinel.

## Official Specification Summary (cppreference)

```cpp
std::default_sentinel_t end() const noexcept; // (since C++23)
```

Equivalent to `return std::default_sentinel`.

### Return value

A sentinel.

### Example

> Note: This section is incomplete Reason: no example

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