forked from boostorg/config
fix min/max problems
[SVN r22408]
This commit is contained in:
@ -291,11 +291,11 @@
|
|||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
template <class _Tp>
|
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;
|
return __b < __a ? __b : __a;
|
||||||
}
|
}
|
||||||
template <class _Tp>
|
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;
|
return __a < __b ? __b : __a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user