Is there any way to have [] overloads use compile-time indexes as is currently done for Tuples?
pineapple via Digitalmars-d-learn Tue, 27 Sep 2016 02:26:48 -0700
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?
- Is there any way to have [] overloads us... pineapple via Digitalmars-d-learn
- Re: Is there any way to have [] ove... Basile B. via Digitalmars-d-learn