| 383 | // when writing the failure message. |
| 384 | template <typename T> |
| 385 | struct LogNullGuard { |
| 386 | static const T& Guard(const T& v) { return v; } |
| 387 | }; |
| 388 | template <> |
| 389 | struct LogNullGuard<std::nullptr_t> { |
| 390 | static const char* Guard(const std::nullptr_t&) { return "(null)"; } |
nothing calls this directly
no outgoing calls
no test coverage detected