Should the "front" range primitive be "const" ?

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Jan 31 11:05:18 UTC 2018


On Wed, Jan 31, 2018 at 07:08:58AM +0000, Simen Kjærås via Digitalmars-d-learn wrote:
> On Wednesday, 31 January 2018 at 01:45:57 UTC, H. S. Teoh wrote:
> > .headConst
> 
> .headMutable. :p Head-const is something we generally want to avoid.
[...]

*facepalm* Yes, .headMutable, not .headConst. Argh...


T

-- 
VI = Visual Irritation


More information about the Digitalmars-d-learn mailing list