tetl 0.1.0
Embedded Template Library
|
The char_traits class is a traits class template that abstracts basic character and string operations for a given character type. More...
The char_traits class is a traits class template that abstracts basic character and string operations for a given character type.
The defined operation set is such that generic algorithms almost always can be implemented in terms of it. It is thus possible to use such algorithms with almost any possible character or string type, just by supplying a customized char_traits class. The char_traits class template serves as a basis for explicit instantiations. The user can provide a specialization for any custom character types. Several specializations are defined for the standard character types. If an operation on traits emits an exception, the behavior is undefined.