asio-tr2 icon indicating copy to clipboard operation
asio-tr2 copied to clipboard

[async.dispatch] uses DEDUCED without completion signatures

Open jwakely opened this issue 9 years ago • 2 comments

[async.reqmts.async.return.type] defines DEDUCED as a type that depends on Signature, but then [async.dispatch] doesn't specify a completion signature for the dispatch/post/defer overloads that use DEDUCED. It can be inferred to be void() from the Effects clause, but it's not specified explicitly.

jwakely avatar Oct 06 '15 13:10 jwakely

Added completion signatures in a7f3a348a8fccd8b367761e879d32b956236310e.

N.B. dispatch() and defer() don't strictly meet all the requirements of asynchronous operations. I wonder if we need a note to that effect?

chriskohlhoff avatar Oct 06 '15 20:10 chriskohlhoff

Add note as described

chriskohlhoff avatar Oct 23 '15 01:10 chriskohlhoff