Generic Classes

Hi, I'm new to C++ and coming from a background of Java and scripting languages. I'm wondering how to go about writing a generic class that can be applied to any Object?

Such as writting a resizable array class that will allow me to use int's, bools, Vectors or whatever.

In java this would be done by using the superclass Object and putting class wrappers round the basic types if you wanted one of them.

So how's it does in C++?
"So how's it does in C++?" woopse!

How's it done in C++?

Is there really no way to do this or something like it using class extension or templates or something?
Topic archived. No new replies allowed.