Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pptr
8 months ago
|
parent
|
context
|
favorite
| on:
C++ Safety, in Context
C++20 added std::span, which is essentially that.
pjmlp
8 months ago
[–]
Without bounds checking.
vlovich123
8 months ago
|
parent
[–]
Hey. Be reasonable. That's coming in c++26 using the `.at` interface that no one actually uses because `[]` is more natural, shorter (2.5x shorter), and convenient.
pjmlp
8 months ago
|
root
|
parent
[–]
Yeah, that is exactly the problem. :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: