// B. Malloy, Summer 2002 // This is the "host" class, to be used with the "policies" // defined in "findpolicy.h" #include template //class NumberManager : private FindPolicy { class NumberManager { public: NumberManager(unsigned m = ELEMENT_MAX) : MAX(m) { init(); } std::vector::const_iterator find(int) const; std::vector::const_iterator end() const { return vec.end(); } private: const int MAX; static const int ELEMENT_MAX = 100; std::vector vec; void init(); };