mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-06 09:16:33 +02:00
move BOOST_USING_STD_MIN and _MAX and BOOST_PREVENT_MACRO_SUBSTITUTION to the config headers, remove boost/minmax.hpp, update coding guidelines
[SVN r23313]
This commit is contained in:
@ -1,24 +0,0 @@
|
|||||||
// (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
|
|
Reference in New Issue
Block a user