Displaying 1 result from an estimated 1 matches for "2bfcbd76".
2017 Jul 14
2
Building aggregate types with dynamically sized elements
>
> Note: C does not support this. GCC has an extension (variable length
> arrays in structs), but clang doesn’t support it and it’s a terrible idea.
It might be complex but it is not terrible. Depends on the language
capabilities implementing it. Delphi for example allows exactly that and
finalizes its records through RTTI which allows to automatically free up
the memory.
2017-07-14