[Issue 14351] [REG2.063] `inout` base class constructor can't be called
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Apr 22 13:25:25 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14351
Temtaime <temtaime at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |temtaime at gmail.com
--- Comment #2 from Temtaime <temtaime at gmail.com> ---
What is purpose of inout ctors ?
In such example you could declare only ctor with « const int » - so int
implicitly converts to const.
Maybe most of attributes(const, inout, ...) on ctors should be forbidden ?
--
More information about the Digitalmars-d-bugs
mailing list