| 93 | // for std::sort |
| 94 | template<typename T> |
| 95 | struct Comparator : public std::binary_function<std::shared_ptr<T>, std::shared_ptr<T>, bool> { |
| 96 | bool operator()(std::shared_ptr<T> const &left, std::shared_ptr<T> const &right) const { |
| 97 | return *left.get() < *right.get(); |
| 98 | } |
| 99 | }; |
| 100 | |
| 101 | |
| 102 | typedef std::shared_ptr<std::string> stringPtr; |
nothing calls this directly
no outgoing calls
no test coverage detected