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:
|