why does clearing an array set its capacity to 0?

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 1 18:34:32 PDT 2014


Vlad Levenfeld:

> Will there be a @nogc or @noheap flag in 2.066?

A @nogc. (The idea of @noheap was refused and I've closed down 
the Enhancement request).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list