[Issue 3125] statement foreach semantic opApply should be tried if range funcs not satisfied
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 2 01:19:48 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3125
--- Comment #1 from david <davidl at 126.com> 2009-07-02 01:19:48 PDT ---
why not create something like IUnknown?
e.g. IRange
all classes inherited from IRange get the tag of being a range class.
This is less hackish of testting funcs.
IRange can enforces users to provide those funcs.
If there're some problems for optimization, IRange can still be an empty
interface for hinting the compiler or treated specially.
--
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