5 ms·
Curious; VLAs are also one of my main pet peeves with NaCl's bundled C++ wrapper. You can't convincingly argue that it's to prevent memory allocations, since ev
by pbsd 13y ago
Curious; VLAs are also one of my main pet peeves with NaCl's bundled C++ wrapper. You can't convincingly argue that it's to prevent memory allocations, since everything is passed and returned as std::string. Additionally, VLAs are not even in the C++ standard.
- zanny 13y agoThey should be, soon, though. Which is great. I think the last proposal was for dynarray. See here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2648.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n264... Some compilers already support the spec, even if it isn't going to be in C++14.