When I do this:
std::vector hello;
Everything works great. However, when I make it a vector of references instead:
As other have mentioned, you will probably end up using a vector of pointers instead.
However, you may want to consider using a ptr_vector instead!