News for hackers. Stuff that matters.
Re:The Linux Kernel Is Now VLA (Variable-Length Array) Free by geezerjay on Tuesday October 30, 2018 @04:40AM (#18334782)
> The problem with vector is that it always heap-allocates.

How about std::array ?

Re:The Linux Kernel Is Now VLA (Variable-Length Array) Free by int_19h on Tuesday October 30, 2018 @04:44AM (#18334809)
It's not dynamically sized - the size is a template parameter, which means that it has to be a compile-time constant.