| 84 | |
| 85 | template<typename T> |
| 86 | bool equals(const std::shared_ptr<T> &left, const std::shared_ptr<T> &right) { |
| 87 | if (nullptr == left || nullptr == right) { |
| 88 | return false; |
| 89 | } |
| 90 | return *(left.get()) == *(right.get()); |
| 91 | } |
| 92 | |
| 93 | // for std::sort |
| 94 | template<typename T> |
no test coverage detected