Add move-only handler tests

This commit is contained in:
Vinnie Falco
2018-02-28 15:04:54 -08:00
parent 5a53bd449a
commit dfc5a2ff67
9 changed files with 74 additions and 2 deletions
+2 -2
View File
@@ -731,8 +731,8 @@ read(
The object must remain valid at least until the
handler is called; ownership is not transferred.
@param handler The handler to be called when the operation
completes. Copies will be made of the handler as required.
@param handler Invoked when the operation completes.
The handler may be moved or copied as needed.
The equivalent function signature of the handler must be:
@code void handler(
error_code const& error, // result of operation,