Is it possible to create a vector of types in c++?

Viewed 748

Is it possible to create a vector of types in c++?

Maybe decltype in c++11 can be used for this?

I need this so that I can iterate over this vector, take the type, that is the class, and create such an instance.

4 Answers
Related