A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cplusplus/draft/issues/7222 below:

[exec] Cast the return value of the comma expression to `void`? · Issue #7222 · cplusplus/draft · GitHub

There are two (perhaps more) places in [exec] where fold-expression is used to expand the function: [exec.when.all] and [exec.snd.expos]:

[](auto&, auto&, auto&... ops) noexcept -> void {
  (execution::start(ops), ...);
}

Do we need to convert the return result to void as LWG 3755 does to conform to the current best practice of the standard? Is this editorial, or does it require an LWG? Or maybe this is not necessary at all?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4