Skip to content
UPEEC

std::array

A fixed-size array with value semantics and STL interface — no heap.

Beginner
Comments 0

std::array<int, 4> pins{2, 3, 4, 5}; — great for embedded code.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.