min_max.hpp
Go to the documentation of this file.
1 
2 #ifndef BOOST_MPL_MIN_MAX_HPP_INCLUDED
3 #define BOOST_MPL_MIN_MAX_HPP_INCLUDED
4 
5 // Copyright Aleksey Gurtovoy 2000-2008
6 //
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
10 //
11 // See http://www.boost.org/libs/mpl for documentation.
12 
13 // $Id: min_max.hpp 13472 2017-08-22 07:53:44Z richean $
14 // $Date: 2017-08-22 09:53:44 +0200 (Di, 22 Aug 2017) $
15 // $Revision: 13472 $
16 
17 #include <boost/mpl/less.hpp>
18 #include <boost/mpl/if.hpp>
20 
21 namespace boost { namespace mpl {
22 
23 template<
24  typename BOOST_MPL_AUX_NA_PARAM(N1)
25  , typename BOOST_MPL_AUX_NA_PARAM(N2)
26  >
27 struct min
28  : if_< less<N1,N2>,N1,N2 >
29 {
30 };
31 
32 template<
33  typename BOOST_MPL_AUX_NA_PARAM(N1)
34  , typename BOOST_MPL_AUX_NA_PARAM(N2)
35  >
36 struct max
37  : if_< less<N1,N2>,N2,N1 >
38 {
39 };
40 
43 
44 }}
45 
46 #endif // BOOST_MPL_MIN_MAX_HPP_INCLUDED
less.hpp
BOOST_MPL_AUX_NA_PARAM
#define BOOST_MPL_AUX_NA_PARAM(param)
Definition: na_spec.hpp:152
boost::mpl::max
Definition: min_max.hpp:36
na_spec.hpp
BOOST_MPL_AUX_NA_SPEC
#define BOOST_MPL_AUX_NA_SPEC(i, name)
Definition: na_spec.hpp:161
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::mpl::if_
Definition: dmc/basic_bind.hpp:374
boost::mpl::min
Definition: min_max.hpp:27
if.hpp


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:44:22