static array length

downs default_357-line at yahoo.de
Thu Jan 31 05:16:04 PST 2008


Saaa wrote:
> A static string still has the .length info somewhere.

Nope - if it's static, the length info is derived from the type - so if you type "foob".length, that's replaced at compile time.

 --downs


More information about the Digitalmars-d-learn mailing list