Bug 15495 – initializeAll should initialise const objects?

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

Comments

Comment #0 by turkeyman — 2016-01-01T15:58:29Z
I feel like initializeAll(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:39Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10153 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB