https://issues.dlang.org/show_bug.cgi?id=20816

Mathias LANG <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Mathias LANG <[email protected]> ---
I had a similar problem recently. Wanted to use `typeof(this)` in a factory
method, to return either a `T`, `const(T)`, or `immutable(T)`, but that didn't
work out because you're not supposed to use `this` in a static method. But I
think it would be a welcome enhancement.

--

Reply via email to