Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
geezerjay
on Oct 30, 2018
|
parent
|
context
|
favorite
| on:
The Linux Kernel Is Now VLA (Variable-Length Array...
> The problem with vector is that it always heap-allocates.
How about std::array ?
int_19h
on Oct 30, 2018
[–]
It's not dynamically sized - the size is a template parameter, which means that it has to be a compile-time constant.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
How about std::array ?