Bug 11979 – inout const is not documented

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-23T11:25:00Z
Last change time
2014-03-15T21:30:06Z
Keywords
pull, spec
Assigned to
nobody
Creator
bugzilla

Comments

Comment #0 by bugzilla — 2014-01-23T11:25:26Z
From https://d.puremagic.com/issues/show_bug.cgi?id=11966 : -------------------------------------- > what does 'inout const' mean? - A common type qualifier between immutable and inout - If inout function returns inout(const(T)), it will be deduced to const(T), immutable(T), or inout(const(T)). Different from inout(T), it won't be deduced to T because 'const' sticks. -------------------------------------- Should be in function.dd
Comment #1 by k.hara.pg — 2014-01-23T18:59:41Z
Comment #2 by github-bugzilla — 2014-03-15T21:09:29Z
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/8fada7876277daab225a3a71b163d05b886abdca fix Issue 11979 - inout const is not documented https://github.com/D-Programming-Language/dlang.org/commit/56673d6a23c4908809b311aba47e0cb22fb4ef63 Merge pull request #482 from 9rnsr/fix11979 Issue 11979 - inout const is not documented