blob: 08c0e4f2d6f1b51e0253969477fe26e4ecc8d2b8 [file]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "rs_bindings_from_cc/test/struct/operators/operators.h"
bool OperandForOutOfLineDefinition::operator==(
const OperandForOutOfLineDefinition& other) const {
return (i % 10) == (other.i % 10);
}
bool operator==(const OperandForFreeFunc& lhs, const OperandForFreeFunc& rhs) {
return (lhs.i % 10) == (rhs.i % 10);
}
namespace test_namespace_bindings {
// bool operator==(const OperandForFreeFuncInDifferentNamespace& lhs,
// const OperandForFreeFuncInDifferentNamespace& rhs) {
// return (lhs.i % 10) == (rhs.i % 10);
// }
} // namespace test_namespace_bindings