On 10/18/20 4:13 PM, Iain Sandoe wrote:
Hi,

At one stage, use cases were proposed for allowing the promise
type to contain both return_value and return_void.  That was
not accepted into C++20; so we should reject it as per the PR.

Tested on x86_64-darwin, x86_64-linux-gnu,
OK for master?

(although this is technically an ‘accepts invalid’ not sure it’s serious
  enough to backport to 10.x - but I’m happy to do so if anyone thinks
  it should be).

ok.  I don;t think it worth a speculative backport

nathan

--
Nathan Sidwell

Reply via email to