The String Component

An instance of the string class is a triple (octs, data, code), the number of octets, pointer to data, and hash code, respectively. The String class is unusual in providing two constructors. The first constructs the string from an ordinary null-terminated c-string, and using a object stack allocator, so that the result may be short-lived. The second takes ...



Bill Pippin 2010-01-14