{"action":"created","comment":{"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/31567613","id":31567613,"diff_hunk":"@@ -523,7 +524,7 @@ printMessage<10>();  // Prints \"Learn C++ faster in only 10 minutes!\"\n // _catch_ handlers.\n try {\n     // Do not allocate exceptions on the heap using _new_.\n-    throw std::exception(\"A problem occurred\");","path":"c++.html.markdown","position":18,"original_position":12,"commit_id":"894792e1e17173823a5d50de24439427c69d63f4","original_commit_id":"47d3cea47e8c5203efa857070a00dcfbff67b019","user":{"login":"adamheins","id":6486659,"avatar_url":"https://avatars.githubusercontent.com/u/6486659?v=3","gravatar_id":"","url":"https://api.github.com/users/adamheins","html_url":"https://github.com/adamheins","followers_url":"https://api.github.com/users/adamheins/followers","following_url":"https://api.github.com/users/adamheins/following{/other_user}","gists_url":"https://api.github.com/users/adamheins/gists{/gist_id}","starred_url":"https://api.github.com/users/adamheins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamheins/subscriptions","organizations_url":"https://api.github.com/users/adamheins/orgs","repos_url":"https://api.github.com/users/adamheins/repos","events_url":"https://api.github.com/users/adamheins/events{/privacy}","received_events_url":"https://api.github.com/users/adamheins/received_events","type":"User","site_admin":false},"body":"Changed to use `std::runtime_error`. Also added the include for it, `#include <stdexcept>`.","created_at":"2015-06-02T20:32:23Z","updated_at":"2015-06-02T20:32:23Z","html_url":"https://github.com/adambard/learnxinyminutes-docs/pull/1123#discussion_r31567613","pull_request_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123","_links":{"self":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/31567613"},"html":{"href":"https://github.com/adambard/learnxinyminutes-docs/pull/1123#discussion_r31567613"},"pull_request":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123"}}},"pull_request":{"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123","id":36688789,"html_url":"https://github.com/adambard/learnxinyminutes-docs/pull/1123","diff_url":"https://github.com/adambard/learnxinyminutes-docs/pull/1123.diff","patch_url":"https://github.com/adambard/learnxinyminutes-docs/pull/1123.patch","issue_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/1123","number":1123,"state":"open","locked":false,"title":"[c++/en] Make code compileable.","user":{"login":"adamheins","id":6486659,"avatar_url":"https://avatars.githubusercontent.com/u/6486659?v=3","gravatar_id":"","url":"https://api.github.com/users/adamheins","html_url":"https://github.com/adamheins","followers_url":"https://api.github.com/users/adamheins/followers","following_url":"https://api.github.com/users/adamheins/following{/other_user}","gists_url":"https://api.github.com/users/adamheins/gists{/gist_id}","starred_url":"https://api.github.com/users/adamheins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamheins/subscriptions","organizations_url":"https://api.github.com/users/adamheins/orgs","repos_url":"https://api.github.com/users/adamheins/repos","events_url":"https://api.github.com/users/adamheins/events{/privacy}","received_events_url":"https://api.github.com/users/adamheins/received_events","type":"User","site_admin":false},"body":"Made the template example class Box have a public member function so it works when that function is called later on. Also removed the string arguments from the std::exception constructors, because std::exception constructors only either take no argurments or another std::exception object.","created_at":"2015-06-02T02:06:18Z","updated_at":"2015-06-02T20:32:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"652afdda0aedf76dd4ea2a6627fbc24ea3e761d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123/commits","review_comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123/comments","review_comment_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/1123/comments","statuses_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/894792e1e17173823a5d50de24439427c69d63f4","head":{"label":"adamheins:master","ref":"master","sha":"894792e1e17173823a5d50de24439427c69d63f4","user":{"login":"adamheins","id":6486659,"avatar_url":"https://avatars.githubusercontent.com/u/6486659?v=3","gravatar_id":"","url":"https://api.github.com/users/adamheins","html_url":"https://github.com/adamheins","followers_url":"https://api.github.com/users/adamheins/followers","following_url":"https://api.github.com/users/adamheins/following{/other_user}","gists_url":"https://api.github.com/users/adamheins/gists{/gist_id}","starred_url":"https://api.github.com/users/adamheins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamheins/subscriptions","organizations_url":"https://api.github.com/users/adamheins/orgs","repos_url":"https://api.github.com/users/adamheins/repos","events_url":"https://api.github.com/users/adamheins/events{/privacy}","received_events_url":"https://api.github.com/users/adamheins/received_events","type":"User","site_admin":false},"repo":{"id":36622879,"name":"learnxinyminutes-docs","full_name":"adamheins/learnxinyminutes-docs","owner":{"login":"adamheins","id":6486659,"avatar_url":"https://avatars.githubusercontent.com/u/6486659?v=3","gravatar_id":"","url":"https://api.github.com/users/adamheins","html_url":"https://github.com/adamheins","followers_url":"https://api.github.com/users/adamheins/followers","following_url":"https://api.github.com/users/adamheins/following{/other_user}","gists_url":"https://api.github.com/users/adamheins/gists{/gist_id}","starred_url":"https://api.github.com/users/adamheins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamheins/subscriptions","organizations_url":"https://api.github.com/users/adamheins/orgs","repos_url":"https://api.github.com/users/adamheins/repos","events_url":"https://api.github.com/users/adamheins/events{/privacy}","received_events_url":"https://api.github.com/users/adamheins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamheins/learnxinyminutes-docs","description":"Code documentation written as code! How novel and totally my idea!","fork":true,"url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs","forks_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/forks","keys_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/teams","hooks_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/hooks","issue_events_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/issues/events{/number}","events_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/events","assignees_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/assignees{/user}","branches_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/branches{/branch}","tags_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/tags","blobs_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/languages","stargazers_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/stargazers","contributors_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/contributors","subscribers_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/subscribers","subscription_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/subscription","commits_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/contents/{+path}","compare_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/merges","archive_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/downloads","issues_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/issues{/number}","pulls_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/labels{/name}","releases_url":"https://api.github.com/repos/adamheins/learnxinyminutes-docs/releases{/id}","created_at":"2015-05-31T21:25:48Z","updated_at":"2015-05-31T21:25:49Z","pushed_at":"2015-06-02T20:30:46Z","git_url":"git://github.com/adamheins/learnxinyminutes-docs.git","ssh_url":"git@github.com:adamheins/learnxinyminutes-docs.git","clone_url":"https://github.com/adamheins/learnxinyminutes-docs.git","svn_url":"https://github.com/adamheins/learnxinyminutes-docs","homepage":"http://learnxinyminutes.com/","size":12210,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"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":"adambard:master","ref":"master","sha":"db11e2919595aaed76a3af41c52722f41a3bcea9","user":{"login":"adambard","id":515720,"avatar_url":"https://avatars.githubusercontent.com/u/515720?v=3","gravatar_id":"","url":"https://api.github.com/users/adambard","html_url":"https://github.com/adambard","followers_url":"https://api.github.com/users/adambard/followers","following_url":"https://api.github.com/users/adambard/following{/other_user}","gists_url":"https://api.github.com/users/adambard/gists{/gist_id}","starred_url":"https://api.github.com/users/adambard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambard/subscriptions","organizations_url":"https://api.github.com/users/adambard/orgs","repos_url":"https://api.github.com/users/adambard/repos","events_url":"https://api.github.com/users/adambard/events{/privacy}","received_events_url":"https://api.github.com/users/adambard/received_events","type":"User","site_admin":false},"repo":{"id":10974951,"name":"learnxinyminutes-docs","full_name":"adambard/learnxinyminutes-docs","owner":{"login":"adambard","id":515720,"avatar_url":"https://avatars.githubusercontent.com/u/515720?v=3","gravatar_id":"","url":"https://api.github.com/users/adambard","html_url":"https://github.com/adambard","followers_url":"https://api.github.com/users/adambard/followers","following_url":"https://api.github.com/users/adambard/following{/other_user}","gists_url":"https://api.github.com/users/adambard/gists{/gist_id}","starred_url":"https://api.github.com/users/adambard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambard/subscriptions","organizations_url":"https://api.github.com/users/adambard/orgs","repos_url":"https://api.github.com/users/adambard/repos","events_url":"https://api.github.com/users/adambard/events{/privacy}","received_events_url":"https://api.github.com/users/adambard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adambard/learnxinyminutes-docs","description":"Code documentation written as code! How novel and totally my idea!","fork":false,"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs","forks_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/forks","keys_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/teams","hooks_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/hooks","issue_events_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/events{/number}","events_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/events","assignees_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/assignees{/user}","branches_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/branches{/branch}","tags_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/tags","blobs_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/languages","stargazers_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/stargazers","contributors_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/contributors","subscribers_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/subscribers","subscription_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/subscription","commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/contents/{+path}","compare_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/merges","archive_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/downloads","issues_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues{/number}","pulls_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/labels{/name}","releases_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/releases{/id}","created_at":"2013-06-26T17:58:34Z","updated_at":"2015-06-01T15:38:38Z","pushed_at":"2015-06-02T20:30:47Z","git_url":"git://github.com/adambard/learnxinyminutes-docs.git","ssh_url":"git@github.com:adambard/learnxinyminutes-docs.git","clone_url":"https://github.com/adambard/learnxinyminutes-docs.git","svn_url":"https://github.com/adambard/learnxinyminutes-docs","homepage":"http://learnxinyminutes.com/","size":12210,"stargazers_count":2453,"watchers_count":2453,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":809,"mirror_url":null,"open_issues_count":57,"forks":809,"open_issues":57,"watchers":2453,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123"},"html":{"href":"https://github.com/adambard/learnxinyminutes-docs/pull/1123"},"issue":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/1123"},"comments":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/1123/comments"},"review_comments":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123/comments"},"review_comment":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/1123/commits"},"statuses":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/894792e1e17173823a5d50de24439427c69d63f4"}}}}