The Database Managers, Inc.

Contact The Database Managers, Inc.


Use an RSS enabled news reader to read these articles.Use an RSS enabled news reader to read these articles.

Inheriting a container class

Date: Wed, 23 Feb 2000 14:28:48 -0600
(copied and edited from a message posted on borland.public.cpp.language)

Q: I want to make a better List with more functions but when I inherit it, the compiler complains about an invalid use of TArrayAsVector.

A:  You may try this:

template <class T> class MyVector : public TArrayAsVector<T> {
};


Popular C++ topics at The Database Managers:

C++ FAQ Services | Programming | Contact Us | Recent Updates
Send feedback to: