https://issues.dlang.org/show_bug.cgi?id=22488
Issue ID: 22488
Summary: data should work with const/immutable Array's
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
Array.data can only be called on a mutable object even though it simply exposes
the underlying storage. The method should propagate the `constness` to the
returned array instead.
--
