title: c++ light appendable array container
body: <p>This relates to another question I asked a while back at <a href="https://stackoverflow.com/questions/16528424/size-of-qt-containers-is-qmap-much-larger-than-qlist">Size of Qt containers: is QMap much larger than Qlist?</a>.<br>
  <br>Basically I would really like to re-implement a VERY LIGHT container which allows to add items (does not matter if at the end or at the beginning - and no, they don't have to be continous in memory... very much like lists). No other functions are required, just appending, and a "count()" or "size()" function to return the number of elements in the container, so I can loop through each. <br><br>This is because I create a large number of these containers, and they take up a lot of memory space (see my other question).<br><br>Has anybody come up with such challenge? I looked around the web, bust most re-implemented a STL container, which is still too large for me. The idea I am following now is to re-write the simplest (forward_list) STL container somehow, but I am not that Kung Fu, but I'll try.<br><br>Thank you for your time.
  <br>Francesco</p>