Dynamically Sized Structs

bearophile bearophileHUGS at lycos.com
Wed Apr 16 16:36:04 PDT 2014


Jeroen Bollen:

> Is it possible to have a structure with a dynamic size?

See an usage example I have written here:
http://rosettacode.org/wiki/Sokoban#Faster_Version

But that code requires a very updated compiler. Otherwise you 
will need a little different code.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list