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.

Reply via email to