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

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Walter Bright <[email protected]> ---
It is not normal practice nor allowed by the memory model to point before the
beginning of a memory block. Pointing one past the end is allowed.

The conventional solution is to use pre-decrement for reversing, that way the
iteration can start with a pointer one past the end.

I'm not understanding why the conventional solution won't work for your case.

--

Reply via email to