File indexing completed on 2025-01-18 09:29:46
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_CHRONO_DETAIL_NO_WARNING_SIGNED_UNSIGNED_CMP_HPP
0009 #define BOOST_CHRONO_DETAIL_NO_WARNING_SIGNED_UNSIGNED_CMP_HPP
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #if defined(__GNUC__) && (__GNUC__ >= 4)
0021 #pragma GCC system_header
0022 #elif defined __SUNPRO_CC
0023 #pragma disable_warn
0024 #elif defined _MSC_VER
0025 #pragma warning(push, 1)
0026 #endif
0027
0028 namespace boost {
0029 namespace chrono {
0030 namespace detail {
0031
0032 template <class T, class U>
0033 bool lt(T t, U u)
0034 {
0035 return t < u;
0036 }
0037
0038 template <class T, class U>
0039 bool gt(T t, U u)
0040 {
0041 return t > u;
0042 }
0043
0044 }
0045 }
0046 }
0047
0048 #if defined __SUNPRO_CC
0049 #pragma enable_warn
0050 #elif defined _MSC_VER
0051 #pragma warning(pop)
0052 #endif
0053
0054 #endif