[Issue 9589] Add hasEmpty template to std.range
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 25 16:59:04 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9589
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmx.com
--- Comment #2 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-02-25 16:58:58 PST ---
I don't know that it's necessarily a bad idea to add this, but _all_ ranges
have empty by definition. isInputRange requires it, so if you're dealing with
range-based stuff, there's no point in checking for hasEmpty. It's already
guaranteed.
--
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