template <typename Object> // Sequence interface class Sequence : public List<Object>, public Vector<Object> { public: // "bridging" methods Position atRank(int rank) const throw(BoundaryViolationException); int rankOf(Position position) const throw(InvalidPositionException); };