why does clearing an array set its capacity to 0?

Vlad Levenfeld via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 1 06:03:52 PDT 2014


I was mistaken earlier, decrementing the length counter also sets 
the capacity to 0.


More information about the Digitalmars-d-learn mailing list