Strings module

Utilities to simplify working with strings.

Modules

module Code units
Utilities for manipulating individual code units ('characters').
module transcode()
Transcodes a UTF string into another UTF encoding.
module trim()
Trims whitespace from both ends of a UTF string.
module trim_left()
Trims whitespace from the left end of a UTF string.
module trim_right()
Trims whitespace from the right end of a UTF string.

Classes

template <typename Character, size_t Length>
class muu::fixed_string
A null-terminated string for compile-time string manipulation.
class muu::string_param
A move-only string type-eraser capable of representing any UTF string.

Functions

void set_thread_name(string_param name) noexcept
Sets the name of the current thread for debuggers.

Function documentation

void set_thread_name(string_param name) noexcept

Sets the name of the current thread for debuggers.