| 1349 | // Specialised comparison functions to handle equality comparisons between ints and pointers (NULL deduces as an int) |
| 1350 | template<typename LhsT, typename RhsT> |
| 1351 | auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast<bool>(lhs == rhs); } |
| 1352 | template<typename T> |
| 1353 | auto compareEqual( T* const& lhs, int rhs ) -> bool { return lhs == reinterpret_cast<void const*>( rhs ); } |
| 1354 | template<typename T> |