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

Georgy Markov <ogion....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ogion....@gmail.com

--- Comment #1 from Georgy Markov <ogion....@gmail.com> ---
Works if opSlice is implemented as a template:

auto ref opSlice(size_t dim)(size_t start, size_t end) if (dim == 0)

According to reference, it should work as it is:
> If only one-dimensional slicing is desired, opSlice may be declared without 
> the compile-time parameter.

--

Reply via email to