Bug 15494 – moveEmplaceAll should support const?

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2016-01-01T15:54:54Z
Last change time
2024-12-01T16:25:36Z
Assigned to
No Owner
Creator
Manu
Moved to GitHub: phobos#9670 →

Comments

Comment #0 by turkeyman — 2016-01-01T15:54:54Z
I feel like moveEmplaceAll(src, target), where target is an uninitialised range of const(T) should work? It seems that it only works if target is mutable. const objects must be initialised somehow, and this function seems like a reasonable form of initialisation. Lift this restriction?
Comment #1 by robert.schadek — 2024-12-01T16:25:36Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9670 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB