{"action":"opened","issue":{"url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/14","labels_url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/14/comments","events_url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/14/events","html_url":"https://github.com/chriskohlhoff/asio-tr2/issues/14","id":57075414,"number":14,"title":"Question about read()","user":{"login":"mclow","id":167192,"avatar_url":"https://avatars.githubusercontent.com/u/167192?v=3","gravatar_id":"","url":"https://api.github.com/users/mclow","html_url":"https://github.com/mclow","followers_url":"https://api.github.com/users/mclow/followers","following_url":"https://api.github.com/users/mclow/following{/other_user}","gists_url":"https://api.github.com/users/mclow/gists{/gist_id}","starred_url":"https://api.github.com/users/mclow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mclow/subscriptions","organizations_url":"https://api.github.com/users/mclow/orgs","repos_url":"https://api.github.com/users/mclow/repos","events_url":"https://api.github.com/users/mclow/events{/privacy}","received_events_url":"https://api.github.com/users/mclow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-09T19:12:30Z","updated_at":"2015-02-09T19:12:30Z","closed_at":null,"body":"There are four overloads of `read()` defined in section 10.8.19.\r\n\r\n    read(stream, buffers);\r\n    read(stream, buffers, error);\r\n    read(stream, buffers, completion);\r\n    read(stream, buffers, completion, error);\r\n\r\n* What is the difference in behavior between the versions that take an `error_code` and the ones that do not? [ My guess is that when the error code is non-zero, they throw it, but the spec doesn't say that ]\r\n* If that is true, should the versions that take an error code be `noexcept`?\r\n\r\nThe same questions apply to `write()`\r\n"}}