s <font size="2"
face="Courier New">strlen</font> and <font size="2"
face="Courier New">wcslen</font> are usually written in assembler,
and with suitable hardware support can be considerably faster
than a generic version written in C++. The authors of the C++
standard library realised this, and abstracted the properties of <font
size="2" face="Courier New">char</font> and <font size="2"
face="Courier New">wchar_t</font> into the class <font size="2"
face="Courier New">char_traits</font>. Generic code that w