January 26, 2019 [Issue 19596] Docs on .walkLength are wrong | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19596 Neia Neutuladh <dhasenan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dhasenan@gmail.com Resolution|--- |WONTFIX --- Comment #1 from Neia Neutuladh <dhasenan@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. -- |
Copyright © 1999-2021 by the D Language Foundation