29 lines
864 B
Markdown
29 lines
864 B
Markdown
# Using std::span in Modern C++
|
|||
|
|
|
||
|
|
## Metadata
|
||
|
|
|
||
|
|
| Field | Value |
|
||
|
|
|---|---|
|
||
|
|
| Institute | Molodetz Institute — Research & Retrieval Division |
|
||
|
|
| Subject | safe-cpp-practices |
|
||
|
|
| Document type | Source Citation Card |
|
||
|
|
| Tier | 2 |
|
||
|
|
| Source title | Using std::span in Modern C++ |
|
||
|
|
| Source URL | https://www.embedonix.com/articles/using-stdspan-in-modern-c-programming/ |
|
||
|
|
| Source type | blog post |
|
||
|
|
| Date researched | 2026-10-27 |
|
||
|
|
| Researched by | tai (agent), model: Claude Opus 4.8, on behalf of retoor |
|
||
|
|
| Research method | Search aggregator result listing (not independently opened or quoted) |
|
||
|
|
| Confidence | Not independently verified |
|
||
|
|
| Status | Active |
|
||
|
|
|
||
|
|
## Why it's here
|
||
|
|
|
||
|
|
span has no runtime bounds check in C++20; validate length before reading payload.
|
||
|
|
|
||
|
|
## Changelog
|
||
|
|
|
||
|
|
| Date | Change |
|
||
|
|
|---|---|
|
||
|
|
| 2026-10-27 | Logged as consulted-but-not-analyzed. |
|