|
Boost Users : |
From: Igor R (boost.lists_at_[hidden])
Date: 2008-07-14 02:37:00
Yes, but the "arguments" must be in a container. Look at Boost.MinMax:
http://www.boost.org/doc/libs/1_35_0/libs/algorithm/minmax/index.html
2008/7/14, Peng Yu <pengyu.ut_at_[hidden]>:
> Hi,
>
> I'm wondering if there is a max function boost, which accept arbitrary
> number of arguments. For example,
>
> max(a, b)
> max(a, b, c)
> max(a, b, ...., z)
>
> Thanks,
> Peng
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net