Cast to left hand side

eles via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 10 00:06:15 PST 2014


On Monday, 10 November 2014 at 05:00:25 UTC, tcak wrote:
> On Sunday, 9 November 2014 at 21:47:03 UTC, eles wrote:
>> On Sunday, 9 November 2014 at 19:00:01 UTC, tcak wrote:
>>

> Because I am auto casting with a keyword, compiler shouldn't 
> complain about it as well. This can also solve "uncast" thing.

Is not the same. Auto or not, this is still an explicit cast. I 
was asking for a cast to be limited to the attribute that is 
targeted, and let data format unchanged. The two are fairly 
different notions, because one specifies the format of the data, 
the other specifies permissions on that data.


More information about the Digitalmars-d-learn mailing list