{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/23","id":53308189,"html_url":"https://github.com/puppetlabs/cppbestpractices/pull/23","diff_url":"https://github.com/puppetlabs/cppbestpractices/pull/23.diff","patch_url":"https://github.com/puppetlabs/cppbestpractices/pull/23.patch","issue_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/issues/23","number":23,"state":"closed","locked":false,"title":"(#22) Update range-for suggestions","user":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"body":"Recommendation made based on a reading of\r\nhttp://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3853.htm is in\r\npractice almost never necessary, and somewhat confusing to explain. Go\r\nwith the simpler recommendation of `auto &` or `auto const&` that's\r\nalmost always correct.","created_at":"2015-12-10T19:56:52Z","updated_at":"2015-12-10T20:03:26Z","closed_at":"2015-12-10T20:03:25Z","merged_at":"2015-12-10T20:03:25Z","merge_commit_sha":"dfd866ce8ad844527fef2c8e07860f03040264b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/23/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/23/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/issues/23/comments","statuses_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/statuses/65a6d26e54bf1116495ad8de05a4d7e10807fc8c","head":{"label":"MikaelSmith:range-for","ref":"range-for","sha":"65a6d26e54bf1116495ad8de05a4d7e10807fc8c","user":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"repo":{"id":46588282,"name":"cppbestpractices","full_name":"MikaelSmith/cppbestpractices","owner":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikaelSmith/cppbestpractices","description":"Collection of C++ Best Practices at Puppet Labs","fork":true,"url":"https://api.github.com/repos/MikaelSmith/cppbestpractices","forks_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/forks","keys_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/teams","hooks_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/hooks","issue_events_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/issues/events{/number}","events_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/events","assignees_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/assignees{/user}","branches_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/branches{/branch}","tags_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/tags","blobs_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/statuses/{sha}","languages_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/languages","stargazers_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/stargazers","contributors_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/contributors","subscribers_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/subscribers","subscription_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/subscription","commits_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/contents/{+path}","compare_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/merges","archive_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/downloads","issues_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/issues{/number}","pulls_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/pulls{/number}","milestones_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/milestones{/number}","notifications_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/labels{/name}","releases_url":"https://api.github.com/repos/MikaelSmith/cppbestpractices/releases{/id}","created_at":"2015-11-20T21:40:24Z","updated_at":"2015-10-12T19:04:05Z","pushed_at":"2015-12-10T19:59:46Z","git_url":"git://github.com/MikaelSmith/cppbestpractices.git","ssh_url":"git@github.com:MikaelSmith/cppbestpractices.git","clone_url":"https://github.com/MikaelSmith/cppbestpractices.git","svn_url":"https://github.com/MikaelSmith/cppbestpractices","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"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":"puppetlabs:master","ref":"master","sha":"8fe239e7f9ec98c08a4bdd655044c0ffd6d62c75","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":41456207,"name":"cppbestpractices","full_name":"puppetlabs/cppbestpractices","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/cppbestpractices","description":"Collection of C++ Best Practices at Puppet Labs","fork":false,"url":"https://api.github.com/repos/puppetlabs/cppbestpractices","forks_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/forks","keys_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/teams","hooks_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/events","assignees_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/tags","blobs_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/subscription","commits_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/merges","archive_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/downloads","issues_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/cppbestpractices/releases{/id}","created_at":"2015-08-27T00:16:13Z","updated_at":"2015-12-06T19:20:10Z","pushed_at":"2015-12-10T20:03:25Z","git_url":"git://github.com/puppetlabs/cppbestpractices.git","ssh_url":"git@github.com:puppetlabs/cppbestpractices.git","clone_url":"https://github.com/puppetlabs/cppbestpractices.git","svn_url":"https://github.com/puppetlabs/cppbestpractices","homepage":null,"size":33,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/23"},"html":{"href":"https://github.com/puppetlabs/cppbestpractices/pull/23"},"issue":{"href":"https://api.github.com/repos/puppetlabs/cppbestpractices/issues/23"},"comments":{"href":"https://api.github.com/repos/puppetlabs/cppbestpractices/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/cppbestpractices/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/cppbestpractices/statuses/65a6d26e54bf1116495ad8de05a4d7e10807fc8c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":3,"changed_files":1}}