Is the following code legal?

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 8 05:00:13 PST 2016


On 08/11/16 14:58, Shachar Shemesh wrote:
> SomeStruct[int] aa;
>
> ...
>
> SomeStruct* aap = v in aa;
> aa.remove(v);
> writeln(aap);
>

That last line is, of course: "writeln(*aap);"

Shachar


More information about the Digitalmars-d mailing list