On 07/30/2013 01:15 PM, Marek Janukowicz wrote:
> class A {
> B [] arr;
> }
> Now "a" in my task is the same as "a" in main thread and I'd like a local
> copy - to be precise I need to make changes to a in the task, but they
> should not affect main copy.
Fine: That is a requirement of your p
I have quite complicated data structure (class-based) and I need a copy of
it in a Task (std.parallelism). There is a simplification of data structure
and my program:
class A {
B [] arr;
}
class B {
C c;
}
class C {
A a;
}
void main () {
a = new A();
... // Further initialization of