Skip to content

Commit

Permalink
fixed : pezy#154
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy authored and pezy committed Mar 18, 2015
1 parent b12fe9c commit 8a9ee0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ch15/ex15.5.6/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
// class Base { ... };
// (a) class Derived : public Derived { ... }; //incorrect, deirve from itself
// (b) class Derived : private Base { ... }; //incorrect, this is a definition not a declaration
// (c) class Derived : public Base; //correcct.
// (c) class Derived : public Base; //incorrect, A derived class is declared like any other class. The declaration
//contains the class name but does not include its derivation list.
//@ reported by lafener, check #154 for detail.
//! Exercise 15.5:
//! Define your own version of the Bulk_quote class.
//!
Expand Down

0 comments on commit 8a9ee0c

Please sign in to comment.