sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
Generator Struct Reference

Classes

struct  promise_type

Public Member Functions

 Generator (std::coroutine_handle< promise_type > h)
 Generator (Generator &&other) noexcept
bool next ()
int value () const

Public Attributes

std::coroutine_handle< promise_type > handle

Detailed Description

Definition at line 20 of file main.cpp.

Constructor & Destructor Documentation

◆ Generator() [1/2]

Generator::Generator ( std::coroutine_handle< promise_type > h)
inlineexplicit

Definition at line 33 of file main.cpp.

◆ Generator() [2/2]

Generator::Generator ( Generator && other)
inlinenoexcept

Definition at line 34 of file main.cpp.

◆ ~Generator()

Generator::~Generator ( )
inline

Definition at line 35 of file main.cpp.

Member Function Documentation

◆ next()

bool Generator::next ( )
inline

Definition at line 37 of file main.cpp.

◆ value()

int Generator::value ( ) const
inline

Definition at line 41 of file main.cpp.

Member Data Documentation

◆ handle

std::coroutine_handle<promise_type> Generator::handle

Definition at line 31 of file main.cpp.


The documentation for this struct was generated from the following file: