Abstract
This column continues looking at my experiences with using
the standard string class on a real world
project. In this installment, I look more into how the standard string
class is typically implemented. I also present a class from my
real world project where the typical string implementation left
much to be desired in its memory management scheme. From there
the I discuss several different approaches I tried to improve the
situation, culminating in developing another version of string
which I called cpstring (compact string).
Readers familiar with Pascal style strings will see a lot of
similarity.