《Hands-On Design Patterns with C++》第1章:继承与多态(上)