[Issue 16389] "const" should be inferred for template methods

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 15 06:34:23 PDT 2016


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

greenify <greeenify at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify at gmail.com

--- Comment #2 from greenify <greeenify at gmail.com> ---
> Currently defining const and non-const versions of methods in generic code is redundant and error-prone.

FWIW isn't inout a solution to a similar problem? In any case inout needs
rebranding

--


More information about the Digitalmars-d-bugs mailing list