September 27, 2016
I'd really like to define my own types that accept indexes for opIndex and opSlice as template arguments. Is there any way to do this? If not, this seems like an obvious thing to add to the language - what's been holding it back?
September 27, 2016
On Tuesday, 27 September 2016 at 09:21:04 UTC, pineapple wrote:
> I'd really like to define my own types that accept indexes for opIndex and opSlice as template arguments. Is there any way to do this? If not, this seems like an obvious thing to add to the language - what's been holding it back?

https://issues.dlang.org/show_bug.cgi?id=16302