Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions include/stdexec/__detail/__read_env.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,14 @@ namespace STDEXEC
template <class _Query>
struct __attrs
{
template <class _SetTag>
STDEXEC_ATTRIBUTE(nodiscard)
constexpr auto query(__get_completion_behavior_t<_SetTag>) const noexcept
constexpr auto query(__get_completion_behavior_t<set_value_t>) const noexcept
Comment thread
nebkat marked this conversation as resolved.
{
return __completion_behavior::__inline_completion;
}

STDEXEC_ATTRIBUTE(nodiscard)
constexpr auto query(__get_completion_behavior_t<set_error_t>) const noexcept

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be constrained on whether the query expression is potentially throwing.

{
return __completion_behavior::__inline_completion;
}
Expand Down