Would this be a useful construct to add to D? auto for constructor call.
Chris Katko
ckatko at gmail.com
Sun Jan 28 07:35:01 UTC 2024
On Wednesday, 24 January 2024 at 08:22:49 UTC, Walter Bright
wrote:
> On 1/23/2024 8:01 AM, Steven Schveighoffer wrote:
>> zero proposals that infer type from how they are used have
>> been accepted by Walter, this one probably will be no
>> different.
>
> Types are inferred in D from the bottom up. Mixing in special
> cases of it being top down leads to confusion over how the type
> is determined.
Thanks to everyone for the feedback. And sorry I selected the
wrong forum. Apologies,
--Chris
More information about the Digitalmars-d-announce
mailing list