[Issue 7177] $ should forward to length by default

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 21 11:14:38 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=7177



--- Comment #27 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-03-21 11:14:37 PDT ---
> How does it do anything to make ranges more complex?

Because it makes yet another thing that range-based functions must test for. We
arguably have too many such traits already. The _only_ reason I see to not
require that opDollar work with ranges which have slicing and finite
random-access ranges is the fact that the change will break code. IMHO,
everything else about it is exactly the right thing to do.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list