So what does (inout int = 0) do?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 15 06:47:43 PDT 2016


On 04/15/2016 02:49 AM, Walter Bright wrote:
> On 4/14/2016 8:10 PM, Andrei Alexandrescu wrote:
>> Commenting it out yields a number of unittest compilation errors, neither
>> informative about the root of the problem and indicative as to how the
>> parameter
>> solves it.
>
> https://issues.dlang.org/show_bug.cgi?id=15926

Nice, thanks. I think I can put a finger on what bothers me the most: 
adding that "inout int = 0" to make code work cannot be an acceptable 
solution to any problem. So the fact that the problem exists is the 
actual problem. It's basic sense and sensibility in engineering. -- Andrei


More information about the Digitalmars-d mailing list