| 49 | class StreamPrefixer { |
| 50 | public: |
| 51 | StreamPrefixer(const char *prefix, std::ostream &os) |
| 52 | : m_prefix(prefix), m_os(&os) {} |
| 53 | template <typename T> std::ostream &operator<<(T val) { |
| 54 | return (*m_os) << m_prefix << val; |
| 55 | } |
nothing calls this directly
no outgoing calls
no test coverage detected