Spec-Zone.ru › C++

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

std::default_sentinel_t end() const noexcept;
(с C++23)

Эквивалентно return std::default_sentinel.

Значение возврата

Сторожевой элемент.

Пример

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/coroutine/generator/end

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API