this post was submitted on 11 Apr 2024
29 points (100.0% liked)

C++

2009 readers
10 users here now

The center for all discussion and news regarding C++.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago

At that point I would just use std::span if you can, then you also get the standard container/iterator interfaces for free.