Is "auto t=T();" not the same as "T t;"?
Salih Dincer
salihdb at hotmail.com
Wed Oct 26 04:40:17 UTC 2022
On Wednesday, 26 October 2022 at 02:34:24 UTC, Ali Çehreli wrote:
> On 10/25/22 19:25, Salih Dincer wrote:
>
> > with static in main():
>
> If 'static' makes a difference on your side as well, it is your
> turn to create a bug report. :) (Last time you discovered a
> bug, I was too quick to report it. :/)
😀
On Tuesday, 25 October 2022 at 13:51:30 UTC, Andrey Zherikov
wrote:
> Does the second piece of code shows a bug or my expectation is
> not correct (and why if so)?
As a result, if this is a bug, Andrey has the right to report it.
Unlike what Andrey did, I haven't tried it with a nested struct.
There is also be in the heap or be in the stack issue...
SDB at 79
More information about the Digitalmars-d-learn
mailing list