If you could make any changes to D, what would they look like?

Dukc ajieskola at gmail.com
Wed Oct 27 19:40:10 UTC 2021


On Wednesday, 27 October 2021 at 19:31:52 UTC, H. S. Teoh wrote:
>
> Returning a void-initialized (i.e., *un*initialized) result 
> invokes UB.
> The compiler is free to do (or not do) whatever it wants in 
> this case.
>
>
> T

Only if the result contains pointers. With other types, the 
result is undefined but not the rest of the program.




More information about the Digitalmars-d mailing list