compilation error with shared ReadWriteMutex

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 30 06:07:37 PDT 2016


On 6/30/16 8:41 AM, jj75607 wrote:
> On Thursday, 30 June 2016 at 12:25:54 UTC, Steven Schveighoffer wrote:
>> On 6/30/16 8:18 AM, jj75607 wrote:
>>>       [...]
>>
>> You don't need to mark this shared, because the entire class is
>> shared, all members are implicitly marked shared.
>>
>> [...]
>
> Thanks! Is this a compilation only 'cast' with no runtime works?

Yes. cast() just removes the any qualifiers.

-Steve


More information about the Digitalmars-d-learn mailing list