where to find Implements!

BLS windevguy at hotmail.de
Wed Sep 29 13:58:05 PDT 2010


On 29/09/2010 22:28, Jonathan M Davis wrote:
> Look in
> std.range for the whole list, but isRandomAccesRange() handles random access
> ranges. Since there is no interface for ranges, you can't check generically
> whether a particular type correctly implements a particular range type - e.g
> is(mystruct : RandomAccessRange) or implements!(RandomAccessRange, mystrucT).


Thanks ! This is already something. (not exactly what I am 
looking/hoping for)

why we don't have /struct A implements IA {}/ by the way.


More information about the Digitalmars-d mailing list