Thread overview | |||||
---|---|---|---|---|---|
|
June 19, 2009 max function | ||||
---|---|---|---|---|
| ||||
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 Re: max function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul D. Anderson | 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 Re: max function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jarrett Billingsley | 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.
|
Copyright © 1999-2021 by the D Language Foundation