Y
Hacker News
new
|
ask
|
show
|
jobs
by
gavinray
1302 days ago
D's slices "T[]" maps to C++'s span<T> -- you're right, though the semantics/APIs of each are slightly different you can treat them as approximate concepts.
C has no such thing that I am aware of