New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify basic action implementations #3679
Conversation
typedef actions::action< | ||
void (*)(std::exception_ptr const&), console_error_sink | ||
> console_error_sink_action; | ||
HPX_DEFINE_PLAIN_ACTION(console_error_sink, console_error_sink_action); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed? and is it the correct way to declare such an action?
d876e24
to
9a1edfb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thanks!
clang doesn't like all of your changes:
|
9a1edfb
to
a8eed4d
Compare
There are also additional test failures caused by the proposed changes: https://stellar-group.gitlab.io/-/hpx/-/jobs/159443858/artifacts/tests.unit.html#775cc3d3-3e99-462e-91fa-e374cdeb7c28 |
Yes, by that commit after the reference. A const-qualified component type was sometimes used to do the pinning whereas a mutable component is required, and since pinning is SFINAE-based it would simply ignore the request instead of diagnosing the issue. |
No description provided.