Files
algorithm/include/boost/minmax.hpp
Hervé Brönnimann 729bb65a2d Removed minmax.hpp from boost (leave Eric Niebler's former file)
and move it to subdir boost/algorithm/
Also incorporate boost::ref into boost/algorithm/minmax.hpp  to avoid
copy constructors when params passed by reference.


[SVN r23305]
2004-07-01 18:38:02 +00:00

25 lines
558 B
C++

// (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. (Eric)
*/
#ifndef BOOST_MINMAX_HPP
#define BOOST_MINMAX_HPP
#include <algorithm> // for std::min and std::max
#include <boost/config.hpp>
#define BOOST_USING_STD_MIN()\
using std::min
#define BOOST_USING_STD_MAX()\
using std::max
#endif // BOOST_MINMAX_HPP