int x = auto

Max Samukha maxsamukha at gmail.com
Wed Mar 22 08:51:27 UTC 2023


On Wednesday, 22 March 2023 at 08:31:46 UTC, Ogi wrote:

> void fun(
>         int x = auto,

No need for new syntax. It should just be `auto x = 0` or `auto x 
= int.init` like any other variable declaration.


More information about the Digitalmars-d mailing list