Would this be a useful construct to add to D? auto for constructor call.
Walter Bright
newshound2 at digitalmars.com
Wed Jan 24 08:22:49 UTC 2024
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.
More information about the Digitalmars-d-announce
mailing list