The recent change log for v2.092.0 Beta says that with the new implementation for the `in` storage class:

`in` should be the storage class of choice for purely input function parameters.

I had been using inout for some time now for "purely input function parameters". Is there a case to be made in favor of const? why would be scope const preferred over scope inout?

Cheers!
Arredondo.
  • in vs inout Arredondo via Digitalmars-d-learn

Reply via email to