1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef _LIBCPP___UTILITY_REL_OPS_H
10 #define _LIBCPP___UTILITY_REL_OPS_H
14 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
15 # pragma GCC system_header
18 _LIBCPP_BEGIN_NAMESPACE_STD
24 inline _LIBCPP_INLINE_VISIBILITY
26 operator!=(const _Tp
& __x
, const _Tp
& __y
)
32 inline _LIBCPP_INLINE_VISIBILITY
34 operator> (const _Tp
& __x
, const _Tp
& __y
)
40 inline _LIBCPP_INLINE_VISIBILITY
42 operator<=(const _Tp
& __x
, const _Tp
& __y
)
48 inline _LIBCPP_INLINE_VISIBILITY
50 operator>=(const _Tp
& __x
, const _Tp
& __y
)
55 } // namespace rel_ops
57 _LIBCPP_END_NAMESPACE_STD
59 #endif // _LIBCPP___UTILITY_REL_OPS_H