ideas about ranges

Jason House jason.james.house at gmail.com
Fri May 22 18:14:24 PDT 2009


Steven Schveighoffer wrote:

> No, you need a pointer.  If T is a reference type, how do you distinguish
> a null element from the end of the iteration?

Do you have any common cases where a range would generate nulls as part of 
its normal output?  I think using the natural null feature of reference 
types is a clean and reasonable solution.




More information about the Digitalmars-d mailing list