From: Giovanni Dicanio on

"Giovanni Dicanio" <giovanni.dicanio(a)> ha scritto nel messaggio

> template <typename T> // T = contained type
> class ListBox< T >
> {
> ...
> T * GetItemDataPtr();
> };

And with this template-based design we could also have polymorphism if we
have a custom hierarchy class structure, e.g. if we have a class Base and a
class Derived (derived from Base), we can just use ListBox< Base >, and
manage Derived with it, too.