RfC for language feature: rvalue struct

Basile B. b2.temp at gmx.com
Wed Jan 25 17:09:18 UTC 2023


On Wednesday, 25 January 2023 at 16:23:51 UTC, FeepingCreature 
wrote:
> Before I take on the effort of writing up and submitting a DIP, 
> let me solicit feedback and see if anyone can see a reason why 
> this idea is dumb and doesn't work.
> [...]

Sometimes I'm thinking about `rvalue` as a new storage class. The 
problem with that is that rvalues data would be _logical_ 
rvalues. Structures or static arrays cannot generally be 
_physical_ rvalues, that does not work, allocas are required.

But I think it's pretty clear for you already, right ?


More information about the Digitalmars-d mailing list