How to store unique values of array in another array

Adam D. Ruppe destructionator at gmail.com
Thu Oct 18 19:25:26 UTC 2018


On Thursday, 18 October 2018 at 19:19:53 UTC, Samir wrote:
> They both seem to work.  Is one preferred over the other?

No difference. The compile will just transform o.f into f(o) if 
it can. They both do the same thing and it is just a different 
way of writing it.

Which is better simply depends on which one reads better to you.


More information about the Digitalmars-d-learn mailing list