What is the point of STL Character Traits?

Character traits are an extremely important component of the streams and strings libraries because they allow the stream/string classes to separate out the logic of what characters are being stored from the logic of what manipulations should be performed on those characters. To begin with, the default character traits class, char_traits<T>, is used extensively in … Read more