{"action":"opened","number":253,"pull_request":{"url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/253","id":46578864,"html_url":"https://github.com/isocpp/CppCoreGuidelines/pull/253","diff_url":"https://github.com/isocpp/CppCoreGuidelines/pull/253.diff","patch_url":"https://github.com/isocpp/CppCoreGuidelines/pull/253.patch","issue_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/253","number":253,"state":"open","locked":false,"title":"Suggested 'return containers by value' example + Title made more concise","user":{"login":"Eliyahu-Ravuna","id":14928543,"avatar_url":"https://avatars.githubusercontent.com/u/14928543?v=3","gravatar_id":"","url":"https://api.github.com/users/Eliyahu-Ravuna","html_url":"https://github.com/Eliyahu-Ravuna","followers_url":"https://api.github.com/users/Eliyahu-Ravuna/followers","following_url":"https://api.github.com/users/Eliyahu-Ravuna/following{/other_user}","gists_url":"https://api.github.com/users/Eliyahu-Ravuna/gists{/gist_id}","starred_url":"https://api.github.com/users/Eliyahu-Ravuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eliyahu-Ravuna/subscriptions","organizations_url":"https://api.github.com/users/Eliyahu-Ravuna/orgs","repos_url":"https://api.github.com/users/Eliyahu-Ravuna/repos","events_url":"https://api.github.com/users/Eliyahu-Ravuna/events{/privacy}","received_events_url":"https://api.github.com/users/Eliyahu-Ravuna/received_events","type":"User","site_admin":false},"body":"On the suggested example, most modern compilers will do named return value optimization (NRVO), which is a variant of copy elision.","created_at":"2015-10-01T21:24:09Z","updated_at":"2015-10-01T21:24:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/253/commits","review_comments_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/253/comments","review_comment_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/comments{/number}","comments_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/253/comments","statuses_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/statuses/91b96d14940db938e6444e1b88224a57ede54cfb","head":{"label":"Eliyahu-Ravuna:patch-2","ref":"patch-2","sha":"91b96d14940db938e6444e1b88224a57ede54cfb","user":{"login":"Eliyahu-Ravuna","id":14928543,"avatar_url":"https://avatars.githubusercontent.com/u/14928543?v=3","gravatar_id":"","url":"https://api.github.com/users/Eliyahu-Ravuna","html_url":"https://github.com/Eliyahu-Ravuna","followers_url":"https://api.github.com/users/Eliyahu-Ravuna/followers","following_url":"https://api.github.com/users/Eliyahu-Ravuna/following{/other_user}","gists_url":"https://api.github.com/users/Eliyahu-Ravuna/gists{/gist_id}","starred_url":"https://api.github.com/users/Eliyahu-Ravuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eliyahu-Ravuna/subscriptions","organizations_url":"https://api.github.com/users/Eliyahu-Ravuna/orgs","repos_url":"https://api.github.com/users/Eliyahu-Ravuna/repos","events_url":"https://api.github.com/users/Eliyahu-Ravuna/events{/privacy}","received_events_url":"https://api.github.com/users/Eliyahu-Ravuna/received_events","type":"User","site_admin":false},"repo":{"id":43509309,"name":"CppCoreGuidelines","full_name":"Eliyahu-Ravuna/CppCoreGuidelines","owner":{"login":"Eliyahu-Ravuna","id":14928543,"avatar_url":"https://avatars.githubusercontent.com/u/14928543?v=3","gravatar_id":"","url":"https://api.github.com/users/Eliyahu-Ravuna","html_url":"https://github.com/Eliyahu-Ravuna","followers_url":"https://api.github.com/users/Eliyahu-Ravuna/followers","following_url":"https://api.github.com/users/Eliyahu-Ravuna/following{/other_user}","gists_url":"https://api.github.com/users/Eliyahu-Ravuna/gists{/gist_id}","starred_url":"https://api.github.com/users/Eliyahu-Ravuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eliyahu-Ravuna/subscriptions","organizations_url":"https://api.github.com/users/Eliyahu-Ravuna/orgs","repos_url":"https://api.github.com/users/Eliyahu-Ravuna/repos","events_url":"https://api.github.com/users/Eliyahu-Ravuna/events{/privacy}","received_events_url":"https://api.github.com/users/Eliyahu-Ravuna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eliyahu-Ravuna/CppCoreGuidelines","description":"The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++","fork":true,"url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines","forks_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/forks","keys_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/teams","hooks_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/hooks","issue_events_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/issues/events{/number}","events_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/events","assignees_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/assignees{/user}","branches_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/branches{/branch}","tags_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/tags","blobs_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/statuses/{sha}","languages_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/languages","stargazers_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/stargazers","contributors_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/contributors","subscribers_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/subscribers","subscription_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/subscription","commits_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/contents/{+path}","compare_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/merges","archive_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/downloads","issues_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/issues{/number}","pulls_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/pulls{/number}","milestones_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/milestones{/number}","notifications_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/labels{/name}","releases_url":"https://api.github.com/repos/Eliyahu-Ravuna/CppCoreGuidelines/releases{/id}","created_at":"2015-10-01T17:07:01Z","updated_at":"2015-10-01T16:26:30Z","pushed_at":"2015-10-01T21:14:16Z","git_url":"git://github.com/Eliyahu-Ravuna/CppCoreGuidelines.git","ssh_url":"git@github.com:Eliyahu-Ravuna/CppCoreGuidelines.git","clone_url":"https://github.com/Eliyahu-Ravuna/CppCoreGuidelines.git","svn_url":"https://github.com/Eliyahu-Ravuna/CppCoreGuidelines","homepage":null,"size":16922,"stargazers_count":0,"watchers_count":0,"language":null,"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":"isocpp:master","ref":"master","sha":"1ab6344b446064f26e8150c7861c1b6dfeb000c4","user":{"login":"isocpp","id":13841574,"avatar_url":"https://avatars.githubusercontent.com/u/13841574?v=3","gravatar_id":"","url":"https://api.github.com/users/isocpp","html_url":"https://github.com/isocpp","followers_url":"https://api.github.com/users/isocpp/followers","following_url":"https://api.github.com/users/isocpp/following{/other_user}","gists_url":"https://api.github.com/users/isocpp/gists{/gist_id}","starred_url":"https://api.github.com/users/isocpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isocpp/subscriptions","organizations_url":"https://api.github.com/users/isocpp/orgs","repos_url":"https://api.github.com/users/isocpp/repos","events_url":"https://api.github.com/users/isocpp/events{/privacy}","received_events_url":"https://api.github.com/users/isocpp/received_events","type":"Organization","site_admin":false},"repo":{"id":41058054,"name":"CppCoreGuidelines","full_name":"isocpp/CppCoreGuidelines","owner":{"login":"isocpp","id":13841574,"avatar_url":"https://avatars.githubusercontent.com/u/13841574?v=3","gravatar_id":"","url":"https://api.github.com/users/isocpp","html_url":"https://github.com/isocpp","followers_url":"https://api.github.com/users/isocpp/followers","following_url":"https://api.github.com/users/isocpp/following{/other_user}","gists_url":"https://api.github.com/users/isocpp/gists{/gist_id}","starred_url":"https://api.github.com/users/isocpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isocpp/subscriptions","organizations_url":"https://api.github.com/users/isocpp/orgs","repos_url":"https://api.github.com/users/isocpp/repos","events_url":"https://api.github.com/users/isocpp/events{/privacy}","received_events_url":"https://api.github.com/users/isocpp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/isocpp/CppCoreGuidelines","description":"The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++","fork":false,"url":"https://api.github.com/repos/isocpp/CppCoreGuidelines","forks_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/forks","keys_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/teams","hooks_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/hooks","issue_events_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/events{/number}","events_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/events","assignees_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/assignees{/user}","branches_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/branches{/branch}","tags_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/tags","blobs_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/git/refs{/sha}","trees_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/statuses/{sha}","languages_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/languages","stargazers_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/stargazers","contributors_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/contributors","subscribers_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/subscribers","subscription_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/subscription","commits_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/commits{/sha}","git_commits_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/git/commits{/sha}","comments_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/comments{/number}","issue_comment_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/comments{/number}","contents_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/contents/{+path}","compare_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/merges","archive_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/downloads","issues_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues{/number}","pulls_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls{/number}","milestones_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/milestones{/number}","notifications_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/labels{/name}","releases_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/releases{/id}","created_at":"2015-08-19T20:22:52Z","updated_at":"2015-10-01T21:22:07Z","pushed_at":"2015-10-01T20:24:13Z","git_url":"git://github.com/isocpp/CppCoreGuidelines.git","ssh_url":"git@github.com:isocpp/CppCoreGuidelines.git","clone_url":"https://github.com/isocpp/CppCoreGuidelines.git","svn_url":"https://github.com/isocpp/CppCoreGuidelines","homepage":null,"size":16922,"stargazers_count":6817,"watchers_count":6817,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":637,"mirror_url":null,"open_issues_count":73,"forks":637,"open_issues":73,"watchers":6817,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/253"},"html":{"href":"https://github.com/isocpp/CppCoreGuidelines/pull/253"},"issue":{"href":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/253"},"comments":{"href":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/253/comments"},"review_comments":{"href":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/253/comments"},"review_comment":{"href":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/253/commits"},"statuses":{"href":"https://api.github.com/repos/isocpp/CppCoreGuidelines/statuses/91b96d14940db938e6444e1b88224a57ede54cfb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":2,"changed_files":1}}