betterC error?

SrMordred patric.dexheimer at gmail.com
Tue Jun 12 14:18:04 UTC 2018


On Tuesday, 12 June 2018 at 12:29:17 UTC, rikki cattermole wrote:
> (...)

this line:
>>> byte[] data = [0, 1];
is an dynamic array allocated with GC.
But if you declare as a static array like
>>>byte[2] data = [0, 1];
than its not GC allocated.



More information about the Digitalmars-d mailing list