tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
char_traits< CharT > Struct Template Reference

The char_traits class is a traits class template that abstracts basic character and string operations for a given character type. More...

Detailed Description

template<typename CharT>
struct etl::char_traits< CharT >

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.


The documentation for this struct was generated from the following file: