Integer precision of function return types

thinkunix thinkunix at zoho.com
Fri Sep 27 21:20:04 UTC 2024


H. S. Teoh via Digitalmars-d-learn wrote:
> In idiomatic D, you'd use `auto` when either (1) you don't care what the
> type is, you just want whatever value you get to be shoved into a
> variable, or (2) you *shouldn't* care what the type is, because your
> code shouldn't be depending on it, e.g., when you're using Voldemort
> types std.algorithm-style.

Thank you!  That was a very helpful response.


More information about the Digitalmars-d-learn mailing list