-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
C++ Script APIFeatureNew feature or requestNew feature or requestGood practiceIndicates a proposed change that would be seen as good practiceIndicates a proposed change that would be seen as good practiceIdeaIdeas, concepts, etc. (for features without a clear scope yet)Ideas, concepts, etc. (for features without a clear scope yet)module: engineFor features that involve the `engine` module. (optional)For features that involve the `engine` module. (optional)
Description
Writing co_await with an empty initializer list {} or next_frame should be made to supply a true Boolean value on coroutine resume.
This would enable programming patterns like:
while(co_await next_frame)
{
// ...
}
do
{
// ...
}
while(co_await next_frame);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C++ Script APIFeatureNew feature or requestNew feature or requestGood practiceIndicates a proposed change that would be seen as good practiceIndicates a proposed change that would be seen as good practiceIdeaIdeas, concepts, etc. (for features without a clear scope yet)Ideas, concepts, etc. (for features without a clear scope yet)module: engineFor features that involve the `engine` module. (optional)For features that involve the `engine` module. (optional)