version: multiple conditions

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 17 10:33:39 PDT 2015


On Wed, 17 Jun 2015 17:25:05 +0000, weaselcat wrote:

> sometimes I find 'alias this' quite elegant, such as using alias this to
> a function. Other times I find it to be a poor hack to get around the
> lack of struct inheritance.

i agree that it has it's uses, but it's still a weird hack. and it 
introduces subtle bugs to compiler, like bug #14653, for example. it's 
overlooked 'cause `alias this` is so hackish...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150617/8bb76fbb/attachment.sig>


More information about the Digitalmars-d mailing list