{"action":"created","issue":{"url":"https://api.github.com/repos/alexanderBaranov/OOP/issues/5","repository_url":"https://api.github.com/repos/alexanderBaranov/OOP","labels_url":"https://api.github.com/repos/alexanderBaranov/OOP/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/alexanderBaranov/OOP/issues/5/comments","events_url":"https://api.github.com/repos/alexanderBaranov/OOP/issues/5/events","html_url":"https://github.com/alexanderBaranov/OOP/issues/5","id":79128979,"number":5,"title":"Замечания по программе Fill","user":{"login":"alexey-malov","id":6040682,"avatar_url":"https://avatars.githubusercontent.com/u/6040682?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-malov","html_url":"https://github.com/alexey-malov","followers_url":"https://api.github.com/users/alexey-malov/followers","following_url":"https://api.github.com/users/alexey-malov/following{/other_user}","gists_url":"https://api.github.com/users/alexey-malov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-malov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-malov/subscriptions","organizations_url":"https://api.github.com/users/alexey-malov/orgs","repos_url":"https://api.github.com/users/alexey-malov/repos","events_url":"https://api.github.com/users/alexey-malov/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-malov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-05-21T19:26:52Z","updated_at":"2016-02-04T07:20:44Z","closed_at":null,"body":"```c++\r\nstruct coordinate\r\n{\r\n\tint x;\r\n\tint y;\r\n\r\n\tbool operator==(const coordinate &coord) const\r\n\t{\r\n\t\treturn (x == coord.x) && (y == coord.y);\r\n\t}\r\n};\r\n```\r\nCoordinate (Коодината) - одно из числовых значений, определяющее положение объекта по одному из пространственных направлений. Тут у тебя нечто, имеющее две координаты.\r\nАбстрация, которую задает данная структура (нечто, имеющее x и y), это либо \"Point\", либо Position.\r\nСтруктуры следует именовать в UpperCamelCase"},"comment":{"url":"https://api.github.com/repos/alexanderBaranov/OOP/issues/comments/179685865","html_url":"https://github.com/alexanderBaranov/OOP/issues/5#issuecomment-179685865","issue_url":"https://api.github.com/repos/alexanderBaranov/OOP/issues/5","id":179685865,"user":{"login":"alexey-malov","id":6040682,"avatar_url":"https://avatars.githubusercontent.com/u/6040682?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-malov","html_url":"https://github.com/alexey-malov","followers_url":"https://api.github.com/users/alexey-malov/followers","following_url":"https://api.github.com/users/alexey-malov/following{/other_user}","gists_url":"https://api.github.com/users/alexey-malov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-malov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-malov/subscriptions","organizations_url":"https://api.github.com/users/alexey-malov/orgs","repos_url":"https://api.github.com/users/alexey-malov/repos","events_url":"https://api.github.com/users/alexey-malov/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-malov/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T07:20:44Z","updated_at":"2016-02-04T07:20:44Z","body":"```c++\r\npointsToBePainted.push_back({ point.x, point.y });\r\n```\r\nесть метод emplace_back, позволяющий передать сразу параметры конструктора вставляемого в хвост объекта"}}