Sharing in D
JAnderson
ask at me.com
Wed Jul 30 19:48:47 PDT 2008
Walter Bright wrote:
> http://www.reddit.com/comments/6u7k0/sharing_in_d/
I like this proposal. Maybe the shared option could be in the typical
bracket notation that D is so fond off:
shared
{
Object X; //Shared object
class Foo() {} //Shared class for any object that uses this /
Shared members
class Bar() {}
}
That way the few people that are passing non-shared objects around can
simply put everything into a shared block, simplifying migration.
-Joel
More information about the Digitalmars-d
mailing list