Minimum value in a range

simendsjo simendsjo at gmail.com
Tue Aug 2 05:50:50 PDT 2011


On 02.08.2011 14:42, Andrej Mitrovic wrote:
> Oh just realized I can use the much simpler:
>
> auto x = reduce!(min)([1, 2, 3]);
>
> Coffee is starting to kick in!

Of course. I even had a lot of coffee running through my veins, so shame 
on me!


More information about the Digitalmars-d-learn mailing list