Skip to content

FR066 09.05.4 Make unhandled_exception in promise types optional #65

@wg21bot

Description

@wg21bot

Defining a coroutine’s promise type forces people who do not care about exceptions to write more boilerplate than necessary.

Proposed change:
std::coroutine_traits<....>::promise_type::unhandled_exception should be optional and equivalent to exception re-throw when not declared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions