<div dir="ltr"><div dir="ltr">On Tue, Aug 25, 2020 at 2:15 AM Atila Neves via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sunday, 2 August 2020 at 20:50:14 UTC, Andrei Alexandrescu <br>
wrote:<br>
> (Background: qualifiers were introduced following my horror <br>
> when I started writing D1 code and saw that strings are <br>
> represented as char[]. So structs with string members would <br>
> look like:<br>
><br>
> [...]<br>
<br>
Nearly every time I use inout I run into problems. Something <br>
doesn't compile, I get annoyed, and switch to templated this. Can <br>
anyone tell me what inout does that templated this doesn't?<br></blockquote><div><br></div><div>Generates one instance, rather than many. Is a 'hard' function; ie, can by virtual...</div></div></div>