| 24 | }; |
| 25 | template<typename T> |
| 26 | class Myless |
| 27 | { |
| 28 | public: |
| 29 | bool operator()(T a, T b) { // 二元函数对象 |
| 30 | return a < b; |
| 31 | } |
| 32 | }; |
| 33 | |
| 34 | template<typename T, typename Compare> |
| 35 | bool compare(T a, T b, Compare comp) |
nothing calls this directly
no outgoing calls
no test coverage detected