int[3] test1()
{
int[3] arr;
...
}
disasm shows:
- arr created on stack
- arr address returned
- stack changed
- data lost.- convert static arrays to dynamic ar... AlanThinker via Digitalmars-d
- Re: convert static arrays to d... bearophile via Digitalmars-d
- Re: convert static arrays ... AlanThinker via Digitalmars-d
- Re: convert static arr... bearophile via Digitalmars-d
- Re: convert static... novice2 via Digitalmars-d
- Re: convert s... novice2 via Digitalmars-d
- Re: conve... ketmar via Digitalmars-d
- Re: convert s... AlanThinker via Digitalmars-d
- Re: convert static... Nick Treleaven via Digitalmars-d
- Re: convert s... Nick Treleaven via Digitalmars-d
- Re: conve... Daniel Murphy via Digitalmars-d
- Re: convert static arrays ... via Digitalmars-d
- Re: convert static arrays to d... H. S. Teoh via Digitalmars-d
- Re: convert static arrays to d... Don via Digitalmars-d
- Re: convert static arrays ... via Digitalmars-d
- Re: convert static arrays ... Steven Schveighoffer via Digitalmars-d
