Feedback Thread: DIP 1037--Add Unary Operator ...--Community Review Round 1

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Oct 28 10:14:13 UTC 2020


On Wednesday, 28 October 2020 at 08:48:39 UTC, Manu wrote:
> What does this mean? What other sequence types do you expect 
> this to apply to? What special cases are you talking about?

C++ is special casing it to overcome a severe language deficiency.

A tuple can either be seen as a struct or as a sequence. Whatever 
operations are added for tuples should have counterparts in 
everything that pertains to structs or sequences in the language.




More information about the Digitalmars-d mailing list