From slices to perfect imitators: opByValue

sclytrack via Digitalmars-d digitalmars-d at puremagic.com
Sat May 10 09:36:12 PDT 2014


>
> void main()
> {
>   DemoStruct m;
>   test(m);
>   acceptor(immutable) i;

    I mean:

     acceptor(immutable) DemoStruct i

>   test(i);
> }
>



More information about the Digitalmars-d mailing list