std::corout...le::address(3)
β¨ NAME β¨
std::coroutine_handle::address β std::coroutine_handle::address. Bestie, this is the std::corout...le::address(3) page from the C++ Standard Libary manual, and the name is literally the same on both sides. We love a consistent queen. π
πΈ Synopsis πΈ
constexpr void* address() const noexcept; (since C++20)
Returns the underlying address of the coroutine_handle. The return value is non-null if and only if the current value of the coroutine_handle is obtained from a promise object of a coroutine. No cap. β¨
π¦ Parameters π¦
(none) β literally no parameters. Not a single one. π«Ά
π Return value π
The underlying address. Thatβs it. Thatβs the whole return value. Iconic behavior. π
π Notes π
The return value is non-null for the specialization std::noop_coroutine_handle, because a std::noop_coroutine_handle cannot be created without referring to a no-op coroutine. Periodt. π
π See also π
from_addressβ imports a coroutine from a pointer;[static](C++20)(public static member function).
Source/version and date: http://cppreference.com, 2024.06.10, page std::corout...le::address(3). Bye bestie, go get that underlying address πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms