Data structures & utilities#

Embedded-safe collections, spans, strings, status, and error handling

Modules#

The following table lists all modules related to Data structures & utilities.

Name

Status

Description

Languages

pw_status

stable

Exception-free error propagation for embedded

C++, C, Python, Java, TypeScript, Rust

pw_result

stable

Error propagation primitives: value-or-error

C++

pw_containers

stable

Generic collections of objects for embedded devices

C++

pw_function

stable

Embedded-friendly std::function

C++

pw_enum

unstable

Rich enum support

C++

pw_numeric

stable

Efficient mathematical utilities for embedded

C++

pw_span

stable

std::span for C++17

C++

pw_string

stable

Efficient, easy, and safe string manipulation

C++