2
0
mirror of https://github.com/boostorg/config.git synced 2026-02-17 01:32:15 +00:00

fix min/max problems

[SVN r22408]
This commit is contained in:
Eric Niebler
2004-02-28 21:21:30 +00:00
parent b721a6debe
commit 6d27dfbbef

View File

@@ -291,11 +291,11 @@
namespace std {
template <class _Tp>
inline const _Tp& min(const _Tp& __a, const _Tp& __b) {
inline const _Tp& min BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) {
return __b < __a ? __b : __a;
}
template <class _Tp>
inline const _Tp& max(const _Tp& __a, const _Tp& __b) {
inline const _Tp& max BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) {
return __a < __b ? __b : __a;
}
}