{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/google-styleguide/issues/24","labels_url":"https://api.github.com/repos/chrsmith/google-styleguide/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-styleguide/issues/24/comments","events_url":"https://api.github.com/repos/chrsmith/google-styleguide/issues/24/events","html_url":"https://github.com/chrsmith/google-styleguide/issues/24","id":57505109,"number":24,"title":"Contradiction in C++ style guide about scoped_ptr","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-styleguide/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-styleguide/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-styleguide/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-12T19:11:03Z","updated_at":"2015-02-12T19:11:03Z","closed_at":null,"body":"```\nThe C++ style guide gives two contradicting guidelines about using scoped_ptr. \nThe Ownership and Smart Pointers section explicitly says not to use scoped_ptr \nexcept for backward compatibility, while the section on Variable-Length Arrays \nand alloca() lists scoped_ptr as an acceptable alternative.\n```\n\n-----\nOriginal issue reported on code.google.com by jcrot...@gmail.com on 2 May 2014 at 2:38"}}