Why can't we derive struct's?
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Dec 24 17:08:33 UTC 2018
On Mon, Dec 24, 2018 at 04:51:09PM +0000, 12345swordy via Digitalmars-d wrote:
> On Monday, 24 December 2018 at 11:46:46 UTC, Walter Bright wrote:
> > On 12/21/2018 2:43 PM, H. S. Teoh wrote:
> > > It can be treated as imports:
> >
> > See my response to Timon.
>
> My 2 cents is that D needs to allow custom implicit conversion without
> using alias this.(You shouldn't have to rely on alias this, to get
> implicit conversations!)
>From what I understand, Walter dislikes implicit conversions because of
the horrible mess in C++ caused by implicit conversions and the
associated obfuscated tangle of rules that nobody except language
lawyers would even begin to understand.
T
--
Старый друг лучше новых двух.
More information about the Digitalmars-d
mailing list