{"action":"created","comment":{"url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/comments/122279523","pull_request_review_id":44382469,"id":122279523,"diff_hunk":"@@ -0,0 +1,17 @@\n+#include \"Vector.h\"\n+#include <iostream>\n+\n+\n+int main()\n+{\n+\tVector <float, 3> vector1;\n+\tVector <float, 4> vector2(vector1);\n+\tVector <float, 3> vector3 = {1.3F, 1.5F, 6.2F};\n+\n+\tint a = 3;\n+\t//vector1 = vector3 * a;","path":"Tsarova Alisa/2017.06.09_HomeWork/2017.06.09_HomeWork/main.cpp","position":12,"original_position":12,"commit_id":"84a6d0d03411c75a87176c1b70e0e0f8b33e8230","original_commit_id":"84a6d0d03411c75a87176c1b70e0e0f8b33e8230","user":{"login":"bugslayer312","id":16329549,"avatar_url":"https://avatars1.githubusercontent.com/u/16329549?v=3","gravatar_id":"","url":"https://api.github.com/users/bugslayer312","html_url":"https://github.com/bugslayer312","followers_url":"https://api.github.com/users/bugslayer312/followers","following_url":"https://api.github.com/users/bugslayer312/following{/other_user}","gists_url":"https://api.github.com/users/bugslayer312/gists{/gist_id}","starred_url":"https://api.github.com/users/bugslayer312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugslayer312/subscriptions","organizations_url":"https://api.github.com/users/bugslayer312/orgs","repos_url":"https://api.github.com/users/bugslayer312/repos","events_url":"https://api.github.com/users/bugslayer312/events{/privacy}","received_events_url":"https://api.github.com/users/bugslayer312/received_events","type":"User","site_admin":false},"body":"результат vector3 * a имеет тип Vector<int, 3> поскольку вы у возвращаемого вектора делаете тот тип элементов что и число, на которое его умножали - **T1**\r\ntemplate <class T, int N> \r\ntemplate<class **T1**> \r\nVector<**T1**, N> Vector<T, N>::operator*(**T1** number) \r\nВы это пытаетесь положить в Vector <float, 3> vector1 у которого тип элементов float, при том, что у вас оператор присваивания принимает только в правой части вектор с тем же типом элементов, что и в левой (у rhs  тип элементов тоже **T**)\r\ntemplate<class **T**, int N> \r\ntemplate<int N1> \r\nVector<**T**, N>& Vector<**T**, N>::operator=(Vector<**T**, N1> rhs)","created_at":"2017-06-15T18:37:21Z","updated_at":"2017-06-15T18:37:56Z","html_url":"https://github.com/bugslayer312/CppStudentHomeWorks/pull/10#discussion_r122279523","pull_request_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/comments/122279523"},"html":{"href":"https://github.com/bugslayer312/CppStudentHomeWorks/pull/10#discussion_r122279523"},"pull_request":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10","id":125600737,"html_url":"https://github.com/bugslayer312/CppStudentHomeWorks/pull/10","diff_url":"https://github.com/bugslayer312/CppStudentHomeWorks/pull/10.diff","patch_url":"https://github.com/bugslayer312/CppStudentHomeWorks/pull/10.patch","issue_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/issues/10","number":10,"state":"open","locked":false,"title":"2017.06.09_HomeWork","user":{"login":"alisatsar","id":24360171,"avatar_url":"https://avatars3.githubusercontent.com/u/24360171?v=3","gravatar_id":"","url":"https://api.github.com/users/alisatsar","html_url":"https://github.com/alisatsar","followers_url":"https://api.github.com/users/alisatsar/followers","following_url":"https://api.github.com/users/alisatsar/following{/other_user}","gists_url":"https://api.github.com/users/alisatsar/gists{/gist_id}","starred_url":"https://api.github.com/users/alisatsar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alisatsar/subscriptions","organizations_url":"https://api.github.com/users/alisatsar/orgs","repos_url":"https://api.github.com/users/alisatsar/repos","events_url":"https://api.github.com/users/alisatsar/events{/privacy}","received_events_url":"https://api.github.com/users/alisatsar/received_events","type":"User","site_admin":false},"body":"Не доделана, не работает operator=. не знаю почему","created_at":"2017-06-14T13:50:58Z","updated_at":"2017-06-15T18:37:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61a0306bfd2769fc384978ce538eb30f1eccd788","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10/commits","review_comments_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10/comments","review_comment_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/issues/10/comments","statuses_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/statuses/84a6d0d03411c75a87176c1b70e0e0f8b33e8230","head":{"label":"alisatsar:2017.06.09_homeWork","ref":"2017.06.09_homeWork","sha":"84a6d0d03411c75a87176c1b70e0e0f8b33e8230","user":{"login":"alisatsar","id":24360171,"avatar_url":"https://avatars3.githubusercontent.com/u/24360171?v=3","gravatar_id":"","url":"https://api.github.com/users/alisatsar","html_url":"https://github.com/alisatsar","followers_url":"https://api.github.com/users/alisatsar/followers","following_url":"https://api.github.com/users/alisatsar/following{/other_user}","gists_url":"https://api.github.com/users/alisatsar/gists{/gist_id}","starred_url":"https://api.github.com/users/alisatsar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alisatsar/subscriptions","organizations_url":"https://api.github.com/users/alisatsar/orgs","repos_url":"https://api.github.com/users/alisatsar/repos","events_url":"https://api.github.com/users/alisatsar/events{/privacy}","received_events_url":"https://api.github.com/users/alisatsar/received_events","type":"User","site_admin":false},"repo":{"id":92835154,"name":"CppStudentHomeWorks","full_name":"alisatsar/CppStudentHomeWorks","owner":{"login":"alisatsar","id":24360171,"avatar_url":"https://avatars3.githubusercontent.com/u/24360171?v=3","gravatar_id":"","url":"https://api.github.com/users/alisatsar","html_url":"https://github.com/alisatsar","followers_url":"https://api.github.com/users/alisatsar/followers","following_url":"https://api.github.com/users/alisatsar/following{/other_user}","gists_url":"https://api.github.com/users/alisatsar/gists{/gist_id}","starred_url":"https://api.github.com/users/alisatsar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alisatsar/subscriptions","organizations_url":"https://api.github.com/users/alisatsar/orgs","repos_url":"https://api.github.com/users/alisatsar/repos","events_url":"https://api.github.com/users/alisatsar/events{/privacy}","received_events_url":"https://api.github.com/users/alisatsar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alisatsar/CppStudentHomeWorks","description":null,"fork":true,"url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks","forks_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/forks","keys_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/teams","hooks_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/hooks","issue_events_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/issues/events{/number}","events_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/events","assignees_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/assignees{/user}","branches_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/branches{/branch}","tags_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/tags","blobs_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/git/refs{/sha}","trees_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/statuses/{sha}","languages_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/languages","stargazers_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/stargazers","contributors_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/contributors","subscribers_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/subscribers","subscription_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/subscription","commits_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/commits{/sha}","git_commits_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/git/commits{/sha}","comments_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/comments{/number}","issue_comment_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/issues/comments{/number}","contents_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/contents/{+path}","compare_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/merges","archive_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/downloads","issues_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/issues{/number}","pulls_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/pulls{/number}","milestones_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/milestones{/number}","notifications_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/labels{/name}","releases_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/releases{/id}","deployments_url":"https://api.github.com/repos/alisatsar/CppStudentHomeWorks/deployments","created_at":"2017-05-30T13:22:27Z","updated_at":"2017-05-22T05:23:46Z","pushed_at":"2017-06-14T13:49:38Z","git_url":"git://github.com/alisatsar/CppStudentHomeWorks.git","ssh_url":"git@github.com:alisatsar/CppStudentHomeWorks.git","clone_url":"https://github.com/alisatsar/CppStudentHomeWorks.git","svn_url":"https://github.com/alisatsar/CppStudentHomeWorks","homepage":null,"size":1326,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bugslayer312:master","ref":"master","sha":"0eee24f7d42feb529dcd75c418d34c03630dc1c0","user":{"login":"bugslayer312","id":16329549,"avatar_url":"https://avatars1.githubusercontent.com/u/16329549?v=3","gravatar_id":"","url":"https://api.github.com/users/bugslayer312","html_url":"https://github.com/bugslayer312","followers_url":"https://api.github.com/users/bugslayer312/followers","following_url":"https://api.github.com/users/bugslayer312/following{/other_user}","gists_url":"https://api.github.com/users/bugslayer312/gists{/gist_id}","starred_url":"https://api.github.com/users/bugslayer312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugslayer312/subscriptions","organizations_url":"https://api.github.com/users/bugslayer312/orgs","repos_url":"https://api.github.com/users/bugslayer312/repos","events_url":"https://api.github.com/users/bugslayer312/events{/privacy}","received_events_url":"https://api.github.com/users/bugslayer312/received_events","type":"User","site_admin":false},"repo":{"id":92014348,"name":"CppStudentHomeWorks","full_name":"bugslayer312/CppStudentHomeWorks","owner":{"login":"bugslayer312","id":16329549,"avatar_url":"https://avatars1.githubusercontent.com/u/16329549?v=3","gravatar_id":"","url":"https://api.github.com/users/bugslayer312","html_url":"https://github.com/bugslayer312","followers_url":"https://api.github.com/users/bugslayer312/followers","following_url":"https://api.github.com/users/bugslayer312/following{/other_user}","gists_url":"https://api.github.com/users/bugslayer312/gists{/gist_id}","starred_url":"https://api.github.com/users/bugslayer312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugslayer312/subscriptions","organizations_url":"https://api.github.com/users/bugslayer312/orgs","repos_url":"https://api.github.com/users/bugslayer312/repos","events_url":"https://api.github.com/users/bugslayer312/events{/privacy}","received_events_url":"https://api.github.com/users/bugslayer312/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bugslayer312/CppStudentHomeWorks","description":null,"fork":false,"url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks","forks_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/forks","keys_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/teams","hooks_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/hooks","issue_events_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/issues/events{/number}","events_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/events","assignees_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/assignees{/user}","branches_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/branches{/branch}","tags_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/tags","blobs_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/git/refs{/sha}","trees_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/statuses/{sha}","languages_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/languages","stargazers_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/stargazers","contributors_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/contributors","subscribers_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/subscribers","subscription_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/subscription","commits_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/commits{/sha}","git_commits_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/git/commits{/sha}","comments_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/comments{/number}","issue_comment_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/issues/comments{/number}","contents_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/contents/{+path}","compare_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/merges","archive_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/downloads","issues_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/issues{/number}","pulls_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls{/number}","milestones_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/milestones{/number}","notifications_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/labels{/name}","releases_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/releases{/id}","deployments_url":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/deployments","created_at":"2017-05-22T05:23:46Z","updated_at":"2017-06-11T20:56:56Z","pushed_at":"2017-06-15T09:59:51Z","git_url":"git://github.com/bugslayer312/CppStudentHomeWorks.git","ssh_url":"git@github.com:bugslayer312/CppStudentHomeWorks.git","clone_url":"https://github.com/bugslayer312/CppStudentHomeWorks.git","svn_url":"https://github.com/bugslayer312/CppStudentHomeWorks","homepage":null,"size":1448,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10"},"html":{"href":"https://github.com/bugslayer312/CppStudentHomeWorks/pull/10"},"issue":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/issues/10"},"comments":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/bugslayer312/CppStudentHomeWorks/statuses/84a6d0d03411c75a87176c1b70e0e0f8b33e8230"}}}}
{"actor":{"display_login":"bugslayer312"}}