Using non-copyable types

H. S. Teoh hsteoh at quickfur.ath.cx
Fri May 24 10:57:55 UTC 2019


On Fri, May 24, 2019 at 07:47:28AM +0000, Kagamin via Digitalmars-d wrote:
> That's because foreach doesn't support pointer ranges.

Aha, so that's where a wrapper reference range struct comes in handy.


T

-- 
First Rule of History: History doesn't repeat itself -- historians merely repeat each other.


More information about the Digitalmars-d mailing list