Logo

Programming-Idioms

History of Idiom 117 > diff from v7 to v8

Edit summary for version 8 by :
New D implementation by user [cym13]

Version 7

2016-01-21, 09:14:49

Version 8

2016-01-24, 02:23:29

Idiom #117 Get list size

Set n to the number of elements of list x.

Idiom #117 Get list size

Set n to the number of elements of list x.

Code
auto n = x.length;