opApply @safety

Chris Wright via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 29 16:59:53 PST 2016


On Fri, 29 Jan 2016 23:35:35 +0000, Basile B. wrote:
> You can implement an input range and annotate all the primitives as
> @safe.

I hadn't realized that if front() returns a tuple, it's automatically 
expanded. Works for me.


More information about the Digitalmars-d-learn mailing list