[Issue 19596] Docs on .walkLength are wrong

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 26 20:13:23 UTC 2019


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

Neia Neutuladh <dhasenan at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dhasenan at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #1 from Neia Neutuladh <dhasenan at gmail.com> ---
You cannot pass a non-copyable struct to a function by value. There is little
point in advertising this fact in the docs for every function that can possibly
accept a user-defined struct. It's something you have to know when you use this
feature.

Pass a pointer to the range instead.

--


More information about the Digitalmars-d-bugs mailing list