Kenji Hara <> changed:

           What    |Removed                     |Added
           Severity|normal                      |enhancement

--- Comment #6 from Kenji Hara <> 2011-11-10 12:22:18 PST ---
I think this issue is an enhancement.

With current dmd implementation, the result type of an inout function has
*always* four possibilities, they are mutable, const, and immutable, and inout.

The implementation of this enhancement will restrict the possibilities.

inout(const(T)) foo(...) { ... }
// can return only const(T), immutable(T), or inout(const(T)).

It seems to be usable a little, but I'm not seeing a use case of that.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to