[Issue 7838] Give some error messages for wrong ranges
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 5 19:41:22 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7838
Matt Peterson <revcompgeek at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |revcompgeek at gmail.com
--- Comment #1 from Matt Peterson <revcompgeek at gmail.com> 2012-04-05 19:42:00 PDT ---
My understanding is that you would usually put a static assert with
isInputRange, or a more specific template from std.range immediately after the
struct. How is DMD supposed to know that that struct is suppose to be a range
otherwise?
--
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