Thread overview
max function
Jun 19, 2009
Paul D. Anderson
Jun 20, 2009
Paul D. Anderson
June 19, 2009
Okay, where is the max(a,b) function in phobos?

I realize it's a dead simple template implementation but I thought it would be implemented somewhere.

Paul

June 19, 2009
On Fri, Jun 19, 2009 at 5:05 PM, Paul D. Anderson<paul.d.removethis.anderson@comcast.andthis.net> wrote:
> Okay, where is the max(a,b) function in phobos?
>
> I realize it's a dead simple template implementation but I thought it would be implemented somewhere.
>
> Paul
>
>

In D2, it's in std.algorithm.  There isn't one in D1.
June 20, 2009
Jarrett Billingsley Wrote:

> On Fri, Jun 19, 2009 at 5:05 PM, Paul D. Anderson<paul.d.removethis.anderson@comcast.andthis.net> wrote:
> > Okay, where is the max(a,b) function in phobos?
> >
> > I realize it's a dead simple template implementation but I thought it would be implemented somewhere.
> >
> > Paul
> >
> >
> 
> In D2, it's in std.algorithm.  There isn't one in D1.

Thanks.