?
=?ISO-8859-15?Q?Juli=E1n?= Albo
I don't think that what I want to do is particularly exotic, to be
honest. C++ has references which is nice. It has the STL, which is
nice. It's just a pity to conclude that they don't get along too well.
When you need something similar to a reference but want to be able to make
it refers to some other thing, you can use a pointer. If you want to store
objects in a standard container, the objects must follow the requisites. If
you don't want to meet the requisites or don't want to use pointers you can
use another type or container. Nothing exotic, just using the more
convenient tool for the job.