3 ms·
Ada allows to return from a function a stack-allocated array of runtime-dependent size. This alone removes wast number of cases when one needs to allocate memor
by fpoling 10y ago
Ada allows to return from a function a stack-allocated array of runtime-dependent size. This alone removes wast number of cases when one needs to allocate memory dynamicalky in C/C++.
I always puzzled why even C++ does not provide any facilities like that out of the box.