Base concept of string object. More...
#include <strexpr.h>
Base concept of string object.
| A | - tested type |
| K | - type of symbols |
The library can use different types of string objects for different purposes. We consider a string object to be any object that supports methods:
is_empty(): Returns whether the string is empty.length(): returns the length of a string without a null terminator.symbols(): returns a pointer to a string of symbols.typename symb_type: sets the character type of the string