D is dead

Shachar Shemesh shachar at weka.io
Thu Aug 23 16:27:47 UTC 2018


On 23/08/18 17:01, Steven Schveighoffer wrote:
> So interestingly, you are accepting the sockaddr by VALUE.

Indeed. The reason is that I cannot accept them by reference, as then 
you wouldn't be able to pass lvalues in. Another controversial decision 
by D.

Had that been C++, I'd definitely get a const ref instead.

Shachar


More information about the Digitalmars-d mailing list