Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mgaunard
5 months ago
|
parent
|
context
|
favorite
| on:
Undefined Behavior in C and C++ (2024)
consider the C++ std::array, which exists to make arrays behave like normal objects.
You can do the same in C by wrapping your array in a struct.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You can do the same in C by wrapping your array in a struct.