| 11015 | /////////////////////////////////////////////////////////////////////////// |
| 11016 | |
| 11017 | class DebugOutStream : public IStream { |
| 11018 | std::unique_ptr<StreamBufImpl<OutputDebugWriter>> m_streamBuf; |
| 11019 | mutable std::ostream m_os; |
| 11020 | public: |
| 11021 | DebugOutStream() |
| 11022 | : m_streamBuf( new StreamBufImpl<OutputDebugWriter>() ), |
| 11023 | m_os( m_streamBuf.get() ) |
| 11024 | {} |
| 11025 | |
| 11026 | ~DebugOutStream() override = default; |
| 11027 | |
| 11028 | public: // IStream |
| 11029 | std::ostream& stream() const override { return m_os; } |
| 11030 | }; |
| 11031 | |
| 11032 | }} // namespace anon::detail |
| 11033 |
nothing calls this directly
no outgoing calls
no test coverage detected