{"action":"created","issue":{"url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/16","labels_url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/16/comments","events_url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/16/events","html_url":"https://github.com/chriskohlhoff/asio-tr2/issues/16","id":57712968,"number":16,"title":"Reconsider ip::address default constructor","user":{"login":"chriskohlhoff","id":462538,"avatar_url":"https://avatars.githubusercontent.com/u/462538?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskohlhoff","html_url":"https://github.com/chriskohlhoff","followers_url":"https://api.github.com/users/chriskohlhoff/followers","following_url":"https://api.github.com/users/chriskohlhoff/following{/other_user}","gists_url":"https://api.github.com/users/chriskohlhoff/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskohlhoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskohlhoff/subscriptions","organizations_url":"https://api.github.com/users/chriskohlhoff/orgs","repos_url":"https://api.github.com/users/chriskohlhoff/repos","events_url":"https://api.github.com/users/chriskohlhoff/events{/privacy}","received_events_url":"https://api.github.com/users/chriskohlhoff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/labels/applied-to-draft","name":"applied-to-draft","color":"fef2c0"},{"url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/labels/design","name":"design","color":"fad8c7"},{"url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/labels/internet","name":"internet","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-15T01:00:52Z","updated_at":"2015-05-06T21:00:12Z","closed_at":null,"body":"The proposal currently specifies that a default constructed `ip::address` have `is_ipv4() == false` and `is_ipv6() == false`. Or to put it another way, the `ip::address` class can contain:\r\n\r\n* an IPv4 address; or\r\n* an IPv6 address; or\r\n* a Not-An-Address value\r\n\r\nSo right now the `ip::address` class can represent a value that is outside the domain of valid IP addresses. This is not the established practice in Asio and as I implement this I am finding that it *might* cause inconsistencies in the other types that use `ip::address`, like `ip::basic_endpoint`.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/comments/99608741","html_url":"https://github.com/chriskohlhoff/asio-tr2/issues/16#issuecomment-99608741","issue_url":"https://api.github.com/repos/chriskohlhoff/asio-tr2/issues/16","id":99608741,"user":{"login":"jwakely","id":1254480,"avatar_url":"https://avatars.githubusercontent.com/u/1254480?v=3","gravatar_id":"","url":"https://api.github.com/users/jwakely","html_url":"https://github.com/jwakely","followers_url":"https://api.github.com/users/jwakely/followers","following_url":"https://api.github.com/users/jwakely/following{/other_user}","gists_url":"https://api.github.com/users/jwakely/gists{/gist_id}","starred_url":"https://api.github.com/users/jwakely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwakely/subscriptions","organizations_url":"https://api.github.com/users/jwakely/orgs","repos_url":"https://api.github.com/users/jwakely/repos","events_url":"https://api.github.com/users/jwakely/events{/privacy}","received_events_url":"https://api.github.com/users/jwakely/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T21:00:12Z","updated_at":"2015-05-06T21:00:12Z","body":"LEWG reviewed this, unanimous consent to making IPv4 the default state"}}