remove std_min and std_max, update minmax coding guidelines

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

No files matched your search

+2 -3
View File
@@ -14,7 +14,6 @@
#include <cassert>
#include <boost/timer.hpp>
#include <boost/minmax.hpp>
#include "regexpr2.h"
namespace gs{
@@ -50,7 +49,7 @@ double time_match(const std::string& re, const std::string& text, bool icase)
e.match(text, what);
}
run = tim.elapsed();
result = std_min(run, result);
result = (std::min)(run, result);
}
return result / iter;
}
@@ -97,7 +96,7 @@ double time_find_all(const std::string& re, const std::string& text, bool icase)
}
}
run = tim.elapsed();
result = std_min(run, result);
result = (std::min)(run, result);
}
return result / iter;
}