Why is this allowed
Adam D. Ruppe
destructionator at gmail.com
Tue Jun 30 16:50:07 UTC 2020
On Tuesday, 30 June 2020 at 16:41:50 UTC, JN wrote:
> I like my code to be explicit, even at a cost of some extra
> typing, rather than get bitten by some unexpected implicit
> behavior.
I agree, I think ALL implicit slicing of static arrays are
problematic and should be removed. If you want to set it all or
slice it for any other reason, just put on the [].
More information about the Digitalmars-d-learn
mailing list