State of -preview=rvaluerefparam
Tejas
notrealemail at gmail.com
Tue Jun 25 00:59:34 UTC 2024
On Monday, 17 June 2024 at 13:40:34 UTC, Quirin Schroll wrote:
> Is `-preview=rvaluerefparam` going to be part of the language
> or has this course been abandoned?
>
> For all other preview switches, I have the impression that
> they’re going to be part of the language once either the
> deprecation period is over/we get editions, or the feature is
> ironed out. In the following table, *Bugfix* means the former,
> *Feature* means the latter.
>
> | Preview Switch | Category |
> |-----------------------|----------|
> | `dip25` | Feature |
> | `dip1000` | Feature |
> | `dip1008` | Feature? |
> | `dip1021` | Feature |
> | `bitfields` | Feature |
> | `fieldwise` | Bugfix |
> | `fixAliasThis` | Bugfix |
> | `rvaluerefparam` | **???** |
> | `nosharedaccess` | Bugfix |
> | `in` | Bugfix |
> | `inclusiveincontracts`| Bugfix |
> | `fixImmutableConv` | Bugfix |
> | `systemVariables` | Feature |
>
> When conceptualizing or writing DIPs, it is crucial to take the
> prospected state of the language into account. For
> `rvaluerefparam`, it seems this is an abandoned path. It’s
> neither an extension of something the language can express nor
> is it a bugfix in the sense that if we could go back in time,
> we’d make it like this from the beginning.
What about [Dip
1040](https://github.com/dlang/DIPs/blob/a9c553b0dbab1c2983a801b5e89b51c5c33d5180/DIPs/DIP1040.md)?
More information about the Digitalmars-d
mailing list