"The (B)Leading Edge"
String in the Real World - Part 2
ęC++ Report (January 1999)

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.