Skip to content

set_exception() should be a const member. #260

@sean-parent

Description

@sean-parent

The invoke operator on packaged_task<> is not const, where the call operator is. The result is you bind a packaged_task to a lambda expression, the lambda must be mutable.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions