Why aren't Ranges Interfaces?
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jun 26 13:57:30 PDT 2015
On 06/26/2015 11:37 AM, Jack Stouffer wrote:
> easier if the different types of Ranges where
> just interfaces that you could inherit from.
If you think you need polymorphic interfaces, the next chapter talks
about inputRangeObject():
http://ddili.org/ders/d.en/ranges_more.html#ix_ranges_more.polymorphism,%20run-time
Ali
More information about the Digitalmars-d-learn
mailing list