Johannes Hofmann
2012-09-13 21:05:54 UTC
Hi,
I noticed that the initAlloc parameter of lout::SimpleVector() is
ignored and we always start with a 1-element array (see
SimpleVector::resize()).
To avoid confusion I would either remove the initAlloc parameter
altogether or use it and adjust the callers as appropriate.
I'm fine either way, but the current solution is not good.
Any opinions?
Cheers,
Johannes
I noticed that the initAlloc parameter of lout::SimpleVector() is
ignored and we always start with a 1-element array (see
SimpleVector::resize()).
To avoid confusion I would either remove the initAlloc parameter
altogether or use it and adjust the callers as appropriate.
I'm fine either way, but the current solution is not good.
Any opinions?
Cheers,
Johannes