On Tuesday, 3 November 2015 at 10:08:04 UTC, Jonathan M Davis wrote:
On Tuesday, 3 November 2015 at 08:37:22 UTC, Atila Neves wrote:
Am I the only one who ever writes `int[]` or `Struct[]` in a function signature?

Probably not, but I write very little code that operates on arrays rather than ranges. If I do, it's usually in a short program or script where I'm doing something that I don't intend to ever reuse, and there's no point in making it generic.

- Jonathan M Davis

I'd _like_ to write functions that take ranges instead; that's why I want to make it easier to declare "this parameter is an input range of T".

Atila

Reply via email to