I want to create my own Tuple type

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Jan 11 18:02:19 UTC 2021


On Monday, 11 January 2021 at 17:48:13 UTC, Paul Backus wrote:
> Why? I'd say that an `immutable(Tuple)` should be immutable, 
> and a `Tuple` should be mutable, as is the case with literally 
> every other type in D.

Tuples are usually immutable, it brings more correctness.



More information about the Digitalmars-d-learn mailing list