Concurrency.
Marco Leise
Marco.Leise at gmx.de
Mon Nov 28 03:34:05 PST 2011
Am 28.11.2011, 11:54 Uhr, schrieb Jonathan M Davis <jmdavisProg at gmx.com>:
> On Monday, November 28, 2011 10:28:34 Debdatta wrote:
>> Let me get this straight. Instances are shared... and marking a class
>> shared
>> marks all its members shared? If what you said were true, it would be
>> trivial to instantiate a class as both shared and unshared. Without any
>> duplication.
>>
>> class A
>> {
>> ///
>> }
>>
>> shared A sharedA = new A;
>> A unsharedA = new A;
maybe it is:
shared A sharedA = new shared(A);
I think I read something like that in the past.
More information about the Digitalmars-d
mailing list