System.SmallString
C++
template <unsigned char sz> class SmallString : SmallStringBase<sz>
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| class | public | dstring.h | System | System | 
Description
A string with maximum sz characters (sz is a template parameter).
You must specify a template parameter:
| Parameter | Usage | 
|---|---|
| sz | The space allocated for characters (maximum number of characters) | 
The length of a SmallString can vary in the interval from 0 to sz. The memory for a SmallString is statically allocated to 1 + sz octets.
Character manipulation:
- The start index is 1.
 - The index used by the subscript operator is not checked for validity.