remove std_min and std_max, update minmax coding guidelines

[SVN r23162]
This commit is contained in:
Eric Niebler
2004-06-23 04:49:48 +00:00
parent d310bc9835
commit 8d994b14b2
7 changed files with 13 additions and 20 deletions

View File

@ -35,7 +35,6 @@ using std::getline;
#include <boost/regex.hpp>
#include <boost/timer.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/minmax.hpp>
#if (defined(_MSC_VER) && (_MSC_VER <= 1300)) || defined(__sgi)
// maybe no Koenig lookup, use using declaration instead:
@ -146,7 +145,7 @@ int main(int argc, char**argv)
double tim;
bool result;
int iters = 100;
double wait_time = boost::std_min(t.elapsed_min() * 1000, 1.0);
double wait_time = (std::min)(t.elapsed_min() * 1000, 1.0);
while(true)
{