Perfect forwarding

Atila Neves atila.neves at
Mon Aug 24 16:17:35 UTC 2020

On Tuesday, 28 July 2020 at 05:34:59 UTC, Petar Kirov 
[ZombineDev] wrote:
> On Monday, 27 July 2020 at 21:08:52 UTC, Andrei Alexandrescu 
> wrote:
>> [...]
> So the question is what do we do about the new traits proposed 
> by [1]? How formal does the process needs to be about them? I 
> see 3 options:
> 1. Traits or otherwise any language features part of a larger 
> story (e.g. template parameter introspection, perfect 
> forwarding) need to go through a 2 step DIP process:
>   1) A strategic/vision DIP that states the high-level problem 
> that we want to solve. The goal of this DIP would be form 
> community and leadership consensus on whether something is a 
> strategic goal for D and whether we need to solve it.
>   2) A tactical DIP that proposes concrete language features 
> and defines their semantics. In this case these would be the 
> traits proposed by [1].
> [...]

I'd say new traits would be case-by-case. My gut feeling is that 
they're too small for a DIP, but I also understand why you'd ask 
if there would have to be one first.

More information about the Digitalmars-d mailing list