| //===----------------------------------------------------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| explicit A(int data = -1) : data_(data) {} |
| operator == (const A& x, const A& y) |
| return x.data_ == y.data_; |
| operator < (const A& x, const A& y) |
| return x.data_ < y.data_; |
| using namespace std::rel_ops; |