{"action":"created","comment":{"url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/comments/29583072","id":29583072,"diff_hunk":"@@ -0,0 +1,53 @@\n+#include \"listunique.h\"\n+\n+void ListUnique::add(int value)\n+{\n+    if (isInList(value))\n+    {\n+        throw AddExistedElement();\n+    }\n+    else","path":"2_term/7/7-2/7-2/listunique.cpp","position":9,"original_position":9,"commit_id":"90de7438fe04dcccae1ff6153a11eb0793a46945","original_commit_id":"90de7438fe04dcccae1ff6153a11eb0793a46945","user":{"login":"TanVD","id":10253437,"avatar_url":"https://avatars.githubusercontent.com/u/10253437?v=3","gravatar_id":"","url":"https://api.github.com/users/TanVD","html_url":"https://github.com/TanVD","followers_url":"https://api.github.com/users/TanVD/followers","following_url":"https://api.github.com/users/TanVD/following{/other_user}","gists_url":"https://api.github.com/users/TanVD/gists{/gist_id}","starred_url":"https://api.github.com/users/TanVD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanVD/subscriptions","organizations_url":"https://api.github.com/users/TanVD/orgs","repos_url":"https://api.github.com/users/TanVD/repos","events_url":"https://api.github.com/users/TanVD/events{/privacy}","received_events_url":"https://api.github.com/users/TanVD/received_events","type":"User","site_admin":false},"body":"Здесь получается произойдёт выход из функции, так что не нужен.\r\nНо если бы вместо throw исключение стоял emit сигнал, то нужен был бы, так?","created_at":"2015-05-04T13:17:16Z","updated_at":"2015-05-04T13:17:16Z","html_url":"https://github.com/TanVD/SpbSU-Homeworks/pull/23#discussion_r29583072","pull_request_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/comments/29583072"},"html":{"href":"https://github.com/TanVD/SpbSU-Homeworks/pull/23#discussion_r29583072"},"pull_request":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23","id":34607224,"html_url":"https://github.com/TanVD/SpbSU-Homeworks/pull/23","diff_url":"https://github.com/TanVD/SpbSU-Homeworks/pull/23.diff","patch_url":"https://github.com/TanVD/SpbSU-Homeworks/pull/23.patch","issue_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/23","number":23,"state":"open","locked":false,"title":"7-2","user":{"login":"TanVD","id":10253437,"avatar_url":"https://avatars.githubusercontent.com/u/10253437?v=3","gravatar_id":"","url":"https://api.github.com/users/TanVD","html_url":"https://github.com/TanVD","followers_url":"https://api.github.com/users/TanVD/followers","following_url":"https://api.github.com/users/TanVD/following{/other_user}","gists_url":"https://api.github.com/users/TanVD/gists{/gist_id}","starred_url":"https://api.github.com/users/TanVD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanVD/subscriptions","organizations_url":"https://api.github.com/users/TanVD/orgs","repos_url":"https://api.github.com/users/TanVD/repos","events_url":"https://api.github.com/users/TanVD/events{/privacy}","received_events_url":"https://api.github.com/users/TanVD/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-03T20:31:27Z","updated_at":"2015-05-04T13:17:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e80b875669f82c4d3e70087b8b679f085769014","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23/commits","review_comments_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23/comments","review_comment_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/23/comments","statuses_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/statuses/90de7438fe04dcccae1ff6153a11eb0793a46945","head":{"label":"TanVD:7-2","ref":"7-2","sha":"90de7438fe04dcccae1ff6153a11eb0793a46945","user":{"login":"TanVD","id":10253437,"avatar_url":"https://avatars.githubusercontent.com/u/10253437?v=3","gravatar_id":"","url":"https://api.github.com/users/TanVD","html_url":"https://github.com/TanVD","followers_url":"https://api.github.com/users/TanVD/followers","following_url":"https://api.github.com/users/TanVD/following{/other_user}","gists_url":"https://api.github.com/users/TanVD/gists{/gist_id}","starred_url":"https://api.github.com/users/TanVD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanVD/subscriptions","organizations_url":"https://api.github.com/users/TanVD/orgs","repos_url":"https://api.github.com/users/TanVD/repos","events_url":"https://api.github.com/users/TanVD/events{/privacy}","received_events_url":"https://api.github.com/users/TanVD/received_events","type":"User","site_admin":false},"repo":{"id":30809072,"name":"SpbSU-Homeworks","full_name":"TanVD/SpbSU-Homeworks","owner":{"login":"TanVD","id":10253437,"avatar_url":"https://avatars.githubusercontent.com/u/10253437?v=3","gravatar_id":"","url":"https://api.github.com/users/TanVD","html_url":"https://github.com/TanVD","followers_url":"https://api.github.com/users/TanVD/followers","following_url":"https://api.github.com/users/TanVD/following{/other_user}","gists_url":"https://api.github.com/users/TanVD/gists{/gist_id}","starred_url":"https://api.github.com/users/TanVD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanVD/subscriptions","organizations_url":"https://api.github.com/users/TanVD/orgs","repos_url":"https://api.github.com/users/TanVD/repos","events_url":"https://api.github.com/users/TanVD/events{/privacy}","received_events_url":"https://api.github.com/users/TanVD/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TanVD/SpbSU-Homeworks","description":"","fork":false,"url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks","forks_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/forks","keys_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/teams","hooks_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/hooks","issue_events_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/events","assignees_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/tags","blobs_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/languages","stargazers_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/stargazers","contributors_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/contributors","subscribers_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/subscribers","subscription_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/subscription","commits_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/merges","archive_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/downloads","issues_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/labels{/name}","releases_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/releases{/id}","created_at":"2015-02-14T21:17:11Z","updated_at":"2015-05-04T10:22:12Z","pushed_at":"2015-05-04T13:06:44Z","git_url":"git://github.com/TanVD/SpbSU-Homeworks.git","ssh_url":"git@github.com:TanVD/SpbSU-Homeworks.git","clone_url":"https://github.com/TanVD/SpbSU-Homeworks.git","svn_url":"https://github.com/TanVD/SpbSU-Homeworks","homepage":null,"size":912,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"TanVD:master","ref":"master","sha":"fc25ef4337c7c37d3c56957dcc26b2bdb010e890","user":{"login":"TanVD","id":10253437,"avatar_url":"https://avatars.githubusercontent.com/u/10253437?v=3","gravatar_id":"","url":"https://api.github.com/users/TanVD","html_url":"https://github.com/TanVD","followers_url":"https://api.github.com/users/TanVD/followers","following_url":"https://api.github.com/users/TanVD/following{/other_user}","gists_url":"https://api.github.com/users/TanVD/gists{/gist_id}","starred_url":"https://api.github.com/users/TanVD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanVD/subscriptions","organizations_url":"https://api.github.com/users/TanVD/orgs","repos_url":"https://api.github.com/users/TanVD/repos","events_url":"https://api.github.com/users/TanVD/events{/privacy}","received_events_url":"https://api.github.com/users/TanVD/received_events","type":"User","site_admin":false},"repo":{"id":30809072,"name":"SpbSU-Homeworks","full_name":"TanVD/SpbSU-Homeworks","owner":{"login":"TanVD","id":10253437,"avatar_url":"https://avatars.githubusercontent.com/u/10253437?v=3","gravatar_id":"","url":"https://api.github.com/users/TanVD","html_url":"https://github.com/TanVD","followers_url":"https://api.github.com/users/TanVD/followers","following_url":"https://api.github.com/users/TanVD/following{/other_user}","gists_url":"https://api.github.com/users/TanVD/gists{/gist_id}","starred_url":"https://api.github.com/users/TanVD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanVD/subscriptions","organizations_url":"https://api.github.com/users/TanVD/orgs","repos_url":"https://api.github.com/users/TanVD/repos","events_url":"https://api.github.com/users/TanVD/events{/privacy}","received_events_url":"https://api.github.com/users/TanVD/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TanVD/SpbSU-Homeworks","description":"","fork":false,"url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks","forks_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/forks","keys_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/teams","hooks_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/hooks","issue_events_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/events","assignees_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/tags","blobs_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/languages","stargazers_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/stargazers","contributors_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/contributors","subscribers_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/subscribers","subscription_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/subscription","commits_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/merges","archive_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/downloads","issues_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/labels{/name}","releases_url":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/releases{/id}","created_at":"2015-02-14T21:17:11Z","updated_at":"2015-05-04T10:22:12Z","pushed_at":"2015-05-04T13:06:44Z","git_url":"git://github.com/TanVD/SpbSU-Homeworks.git","ssh_url":"git@github.com:TanVD/SpbSU-Homeworks.git","clone_url":"https://github.com/TanVD/SpbSU-Homeworks.git","svn_url":"https://github.com/TanVD/SpbSU-Homeworks","homepage":null,"size":912,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23"},"html":{"href":"https://github.com/TanVD/SpbSU-Homeworks/pull/23"},"issue":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/23"},"comments":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/TanVD/SpbSU-Homeworks/statuses/90de7438fe04dcccae1ff6153a11eb0793a46945"}}}}