1: // Created by Frank M. Carrano and Timothy M. Henry.
2: // Copyright (c) 2017 Pearson Education, Hoboken, New Jersey.
4: // Listing C5-1 (This class appears in Listing C1-3)
6: template<class ItemType>
7: class PlainBox
8: {
9: private:
10: ItemType item;
11: public:
12: PlainBox();
13: PlainBox(const ItemType& theItem);
14: void setItem(const ItemType& theItem);
15: ItemType getItem() const;
16: }; // end PlainBox