| 8693 | // tr1::type_traits-like is_pointer works, and we can overload on that. |
| 8694 | template <typename T> |
| 8695 | inline void StreamHelper(internal::true_type /*dummy*/, T* pointer) { |
| 8696 | if (pointer == NULL) { |
| 8697 | *ss_ << "(null)"; |
| 8698 | } else { |
| 8699 | ::GTestStreamToHelper(ss_.get(), pointer); |
| 8700 | } |
| 8701 | } |
| 8702 | template <typename T> |
| 8703 | inline void StreamHelper(internal::false_type /*dummy*/, const T& value) { |
| 8704 | ::GTestStreamToHelper(ss_.get(), value); |
nothing calls this directly
no test coverage detected