digitalmars.D.bugs - [Issue 15495] New: initializeAll should initialise const objects?
- via Digitalmars-d-bugs (20/20) Jan 01 https://issues.dlang.org/show_bug.cgi?id=15495
https://issues.dlang.org/show_bug.cgi?id=15495 Issue ID: 15495 Summary: initializeAll should initialise const objects? Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: turkeyman gmail.com 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? --