{"action":"created","issue":{"url":"https://api.github.com/repos/pezy/CppPrimer/issues/146","repository_url":"https://api.github.com/repos/pezy/CppPrimer","labels_url":"https://api.github.com/repos/pezy/CppPrimer/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/pezy/CppPrimer/issues/146/comments","events_url":"https://api.github.com/repos/pezy/CppPrimer/issues/146/events","html_url":"https://github.com/pezy/CppPrimer/issues/146","id":335085281,"node_id":"MDU6SXNzdWUzMzUwODUyODE=","number":146,"title":"Question 15.4 (b)answer?","user":{"login":"lnesuper","id":11472322,"node_id":"MDQ6VXNlcjExNDcyMzIy","avatar_url":"https://avatars3.githubusercontent.com/u/11472322?v=4","gravatar_id":"","url":"https://api.github.com/users/lnesuper","html_url":"https://github.com/lnesuper","followers_url":"https://api.github.com/users/lnesuper/followers","following_url":"https://api.github.com/users/lnesuper/following{/other_user}","gists_url":"https://api.github.com/users/lnesuper/gists{/gist_id}","starred_url":"https://api.github.com/users/lnesuper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnesuper/subscriptions","organizations_url":"https://api.github.com/users/lnesuper/orgs","repos_url":"https://api.github.com/users/lnesuper/repos","events_url":"https://api.github.com/users/lnesuper/events{/privacy}","received_events_url":"https://api.github.com/users/lnesuper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-23T09:35:09Z","updated_at":"2018-06-25T16:31:10Z","closed_at":null,"author_association":"NONE","body":"### Question 15.4 (b)answer?\r\n\r\nExercise 15.4\r\n\r\nWhich of the following declarations, if any, are incorrect? Explain why.\r\n\r\n`class Base { ... };`\r\n\r\n- (a) class Derived : public Derived { ... };\r\n- (b) class Derived : private Base { ... };\r\n- (c) class Derived : public Base;\r\n\r\n\r\n> (a) incorrect, derive from itself\r\n> **(b) incorrect, this is a definition not a declaration**\r\n> (c) incorrect, A derived class is declared like any other class. The declaration contains the class name but does not include its derivation list\r\n\r\nWhy Is (b) wrong? private not use?\r\n"},"comment":{"url":"https://api.github.com/repos/pezy/CppPrimer/issues/comments/400014179","html_url":"https://github.com/pezy/CppPrimer/issues/146#issuecomment-400014179","issue_url":"https://api.github.com/repos/pezy/CppPrimer/issues/146","id":400014179,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDAxNDE3OQ==","user":{"login":"pezy","id":1147451,"node_id":"MDQ6VXNlcjExNDc0NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1147451?v=4","gravatar_id":"","url":"https://api.github.com/users/pezy","html_url":"https://github.com/pezy","followers_url":"https://api.github.com/users/pezy/followers","following_url":"https://api.github.com/users/pezy/following{/other_user}","gists_url":"https://api.github.com/users/pezy/gists{/gist_id}","starred_url":"https://api.github.com/users/pezy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezy/subscriptions","organizations_url":"https://api.github.com/users/pezy/orgs","repos_url":"https://api.github.com/users/pezy/repos","events_url":"https://api.github.com/users/pezy/events{/privacy}","received_events_url":"https://api.github.com/users/pezy/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T16:31:10Z","updated_at":"2018-06-25T16:31:10Z","author_association":"OWNER","body":"> Why Is (b) wrong? private not use?\r\n\r\nbecause `b` is a **definition**, nothing to do with `private`..."}}
{"actor":{"display_login":"pezy"}}