2004-02-26 18:27:02 +00:00
|
|
|
// (C) Copyright Eric Niebler 2004.
|
|
|
|
// Use, modification and distribution are subject to the
|
|
|
|
// Boost Software License, Version 1.0. (See accompanying file
|
|
|
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
|
|
/*
|
|
|
|
Revision history:
|
|
|
|
25 February 2004
|
|
|
|
Initial version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOOST_MINMAX_HPP
|
|
|
|
#define BOOST_MINMAX_HPP
|
|
|
|
|
|
|
|
#include <algorithm> // for std::min and std::max
|
|
|
|
#include <boost/config.hpp>
|
|
|
|
|
2004-06-23 04:49:48 +00:00
|
|
|
#define BOOST_USING_STD_MIN()\
|
|
|
|
using std::min
|
2004-02-26 18:27:02 +00:00
|
|
|
|
2004-06-23 04:49:48 +00:00
|
|
|
#define BOOST_USING_STD_MAX()\
|
|
|
|
using std::max
|
2004-02-26 18:27:02 +00:00
|
|
|
|
|
|
|
#endif // BOOST_MINMAX_HPP
|