hbzhang / mpspack

Automatically exported from code.google.com/p/mpspack
Other
0 stars 0 forks source link

domain is value rather than handle class #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to be able to make copies of domains. Also I do this internally in
the domain constructor, when checking for intersections of various pieces.
So currently in my version it's a value class. (Segment is still handle
of course).

What do you think?

Original issue reported on code.google.com by alex.h.b...@gmail.com on 3 Jul 2008 at 11:48

GoogleCodeExporter commented 9 years ago

Original comment by alex.h.b...@gmail.com on 8 Jul 2008 at 4:36

GoogleCodeExporter commented 9 years ago
I fixed this a long time ago by implementing a deep copy of a handle object.
So domain is a handle class.
See @domain/domain.m

Original comment by alex.h.b...@gmail.com on 16 Jul 2009 at 6:11