I wish all qualifiers were revisited with an eye for simplification

Atila Neves atila.neves at gmail.com
Mon Aug 24 16:13:45 UTC 2020


On Sunday, 2 August 2020 at 20:50:14 UTC, Andrei Alexandrescu 
wrote:
> (Background: qualifiers were introduced following my horror 
> when I started writing D1 code and saw that strings are 
> represented as char[]. So structs with string members would 
> look like:
>
> [...]

Nearly every time I use inout I run into problems. Something 
doesn't compile, I get annoyed, and switch to templated this. Can 
anyone tell me what inout does that templated this doesn't?


More information about the Digitalmars-d mailing list