Wrong example in 2.066 release notes
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Mon Aug 18 14:25:07 PDT 2014
The code example given in the 2.066 release notes for multi-dimensional
slicing is wrong; the argument to opDollar is NOT intended to represent
the length of the n'th subarray! Rather, it's supposed to represent the
length of the multidimensional array along the n'th axis.
http://dlang.org/changelog.html?2.066#array_and_aa_changes
:-(
T
--
Try to keep an open mind, but not so open your brain falls out. -- theboz
More information about the Digitalmars-d
mailing list