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

--- Comment #15 from Rainer Schuetze <r.sagita...@gmx.de> ---
>Check this out:
>https://github.com/D-Programming-Language/phobos/pull/3694

This is pretty much the workaround given by Kenji above. It has the downside
that you have to copy the full DirEntry object to the stack as a function
argument. Not a big issue for DirEntry, but it can be pretty bad if the struct
has an expensive postblit or if it is disabled.

--

Reply via email to