| 45 | } |
| 46 | |
| 47 | bool FunctionDescriptor::operator==(const FunctionDescriptor& other) const { |
| 48 | return impl_.get() == other.impl_.get() || |
| 49 | (name() == other.name() && |
| 50 | receiver_style() == other.receiver_style() && |
| 51 | types().size() == other.types().size() && |
| 52 | std::equal(types().begin(), types().end(), other.types().begin())); |
| 53 | } |
| 54 | |
| 55 | bool FunctionDescriptor::operator<(const FunctionDescriptor& other) const { |
| 56 | if (impl_.get() == other.impl_.get()) { |