| 219 | namespace impl |
| 220 | { |
| 221 | inline bool compare_first_reverse_second ( |
| 222 | const std::pair<double,bool>& a, |
| 223 | const std::pair<double,bool>& b |
| 224 | ) |
| 225 | { |
| 226 | if (a.first < b.first) |
| 227 | return true; |
| 228 | else if (a.first > b.first) |
| 229 | return false; |
| 230 | else if (a.second && !b.second) |
| 231 | return true; |
| 232 | else |
| 233 | return false; |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | template < |
nothing calls this directly
no outgoing calls
no test coverage detected