Closed maikel closed 1 year ago
Is there a
STDEXEC_NODISCARD
macro that handles nvc++ as a special case?
Not yet. You're free to add one. I don't see a particularly strong case for marking any_sender_of
[[nodiscard]]
though. In this case, I would simply strike the attribute.
On nvc++ I get the following warning
This is due to the nodiscard attribute that i added as
class [[nodiscard]] any_sender
. And I consider that a bug in nvc++. Code looks like thisi.e. we reassign a moved-from sender. Is there a STDEXEC_NODISCARD macro that handles nvc++ as a special case?