// Created by Frank M. Carrano and Tim Henry. // Copyright (c) 2013 __Pearson Education__. All rights reserved. /** Listing C1-7. @file MagicBox */ #ifndef _MAGIC_BOX #define _MAGIC_BOX #include "PlainBox.h" template<class ItemType> class MagicBox : public PlainBox<ItemType> { private: bool firstItemStored; public: MagicBox(); MagicBox(const ItemType& theItem); void setItem(const ItemType& theItem); }; // end MagicBox #include "MagicBox.cpp" #endif