| 947 | //--------------------------------------------------------------------------- |
| 948 | |
| 949 | static std::string invertOperatorForOperandSwap(std::string s) |
| 950 | { |
| 951 | if (s[0] == '<') |
| 952 | s[0] = '>'; |
| 953 | else if (s[0] == '>') |
| 954 | s[0] = '<'; |
| 955 | return s; |
| 956 | } |
| 957 | |
| 958 | template<typename T> |
| 959 | static int sign(const T v) { |