Module sys_common

Source
Expand description

Platform-independent platform abstraction

This is the platform-independent portion of the standard library’s platform abstraction layer, whereas std::sys is the platform-specific portion.

The relationship between std::sys_common, std::sys and the rest of std is complex, with dependencies going in all directions: std depending on sys_common, sys_common depending on sys, and sys depending on sys_common and std. This is because sys_common not only contains platform-independent code, but also code that is shared between the different platforms in sys. Ideally all that shared code should be moved to sys::common, and the dependencies between std, sys_common and sys all would form a dag. Progress on this is tracked in #84187.

Modules§

wstr
This module contains constructs to work with 16-bit characters (UCS-2 or UTF-16)
wtf8
Implementation of the WTF-8 encoding.
processExperimental

Traits§

AsInner 👻
A trait for viewing representations from std types
AsInnerMut 👻
A trait for viewing representations from std types
FromInner 👻
A trait for creating std types from internal representations
IntoInner 👻
A trait for extracting representations from std types

Functions§

ignore_notfound
mul_div_u64