Bug 8248 – std.container.Array needs a const-overload for opSlice

Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-15T00:28:25Z
Last change time
2017-12-31T14:05:24Z
Assigned to
No Owner
Creator
Matthias Walter

Comments

Comment #0 by xammy — 2012-06-15T00:28:25Z
At the moment, the primary range of the Array container can be obtained by opSlice for which no const version exists. As iterating over constant containers is a common option, this is an important feature.
Comment #1 by b2.temp — 2017-12-31T14:05:24Z
overloads are here now