What does the following program do?
Ali Çehreli
acehreli at yahoo.com
Tue Dec 5 19:47:49 UTC 2017
On 12/05/2017 06:11 AM, Shachar Shemesh wrote:
> "move" was supposed to initialize "source" to init. This does not appear
> to be the case. Is that a bug? Where?
The same issue came up recently in the learn group regarding
moveFront(). The documentation fails to mention that the .init behavior
is only for hasElaborateCopyConstructor!(ElementType!R):
http://forum.dlang.org/post/ovs6hq$1gfh$1@digitalmars.com
Finally opened an issue about that one:
https://issues.dlang.org/show_bug.cgi?id=18036
Ali
More information about the Digitalmars-d
mailing list