get number of items in DList

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 11 00:46:28 PDT 2014


pgtkda:

> How can i get the number of items which are currently hold in a 
> DList?

Try (walkLength is from std.range):

mydList[].walkLength

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list