| 957 | |
| 958 | template<typename T> |
| 959 | static int sign(const T v) { |
| 960 | return static_cast<int>(v > 0) - static_cast<int>(v < 0); |
| 961 | } |
| 962 | |
| 963 | // returns 1 (-1) if the first (second) condition is sufficient, 0 if indeterminate |
| 964 | template<typename T> |
no outgoing calls
no test coverage detected