copying a struct containing a struct

Rob T rob at ucora.com
Fri Nov 16 19:20:33 PST 2012


On Friday, 16 November 2012 at 23:35:47 UTC, eskimo wrote:
> The default generated should simply call the user specified 
> ones of any
> sub struct.

I agree that is a more ideal solution. Conceptually, there's 
supposed to be a default opAssign anyway, so it should work as 
you would expect when a nested struct's opAssign is overridden.

> Where can I find this bug? When searching for opAssign I can't 
> find it.
> I would like to vote for it.

I don't see one for this bug either, probably why it's not fixed. 
You should create it.

--rt



More information about the Digitalmars-d mailing list