{"action":"created","issue":{"url":"https://api.github.com/repos/bogdanov-d-a/oop_lab2/issues/7","labels_url":"https://api.github.com/repos/bogdanov-d-a/oop_lab2/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/bogdanov-d-a/oop_lab2/issues/7/comments","events_url":"https://api.github.com/repos/bogdanov-d-a/oop_lab2/issues/7/events","html_url":"https://github.com/bogdanov-d-a/oop_lab2/issues/7","id":64856293,"number":7,"title":"Замечания по программе Word Filter","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":1,"created_at":"2015-03-27T21:39:53Z","updated_at":"2015-03-27T21:41:30Z","closed_at":null,"body":"Как насчет подхода, при котором у нас в выходной файл будет писать функция, выполняющая фильтрацию текста:\r\n```c++\r\nvoid FilterText(istream & inputStream, ostream & outputStream, function<bool(std::string const&)> const& wordFilter);\r\n```\r\nдумаю, код станет несколько проще.\r\n\r\nОпять-таки в заголовочном файле следует оставить только те объявления функций и типов, которые нужны внешнему коду. Все остальное спрятать в cpp"},"comment":{"url":"https://api.github.com/repos/bogdanov-d-a/oop_lab2/issues/comments/87099200","html_url":"https://github.com/bogdanov-d-a/oop_lab2/issues/7#issuecomment-87099200","issue_url":"https://api.github.com/repos/bogdanov-d-a/oop_lab2/issues/7","id":87099200,"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":"2015-03-27T21:41:30Z","updated_at":"2015-03-27T21:41:30Z","body":"k=0,9 за исполнение\r\n0,9 за срок"}}