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://listarchives.boost.org/mailman/listinfo.cgi/boost-users
>