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.

Reply via email to