DIP 1018--The Copy Constructor--Community Review Round 1

Boris-Barboris ismailsiege at gmail.com
Sat Dec 22 00:08:51 UTC 2018


On Friday, 21 December 2018 at 21:40:23 UTC, H. S. Teoh wrote:
> Shouldn't const be inout in this case?

Just in case: it's not my code, it's from the DIP example 
snippets.
I was advocating for forbidden mutable copy source. Inout indeed 
solves the boilerplate/combinatorial problem, but my main 
conjecture was about readability, wich is harmed by mutable 
source default.


More information about the Digitalmars-d mailing list