On Sunday, 12 May 2013 at 10:38:41 UTC, evilrat wrote:
the problem with structs in your case is that this a value type, so may be you could use copy contructor?

struct Something {
// copy ctor
this(Something s) {}
}

D doesn't have copy constructors. What you have there is just a regular constructor.

Reply via email to