| 1948 | // Specialised comparison functions to handle equality comparisons between ints and pointers (NULL deduces as an int) |
| 1949 | template<typename LhsT, typename RhsT> |
| 1950 | auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast<bool>(lhs == rhs); } |
| 1951 | template<typename T> |
| 1952 | auto compareEqual( T* const& lhs, int rhs ) -> bool { return lhs == reinterpret_cast<void const*>( rhs ); } |
| 1953 | template<typename T> |