
14 Jul
2008
14 Jul
'08
1:41 a.m.
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

14 Jul
14 Jul
6:37 a.m.
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
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
6069
Age (days ago)
6069
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
Peng Yu