Passing ranges around

Bahman Movaqar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 12 00:50:34 PDT 2016


On 07/12/2016 11:07 AM, Mike Parker wrote:
> auto foo(R)(R r) { ... }

That did it.  Thanks.
Out of curiosity, does the same pattern apply to functions which take
`tuple`s as input arguments?

-- 
Bahman


More information about the Digitalmars-d-learn mailing list