Construct a stream. @param os The output stream to wrap. */
| 127 | @param os The output stream to wrap. |
| 128 | */ |
| 129 | explicit |
| 130 | basic_debug_stream(std::ostream& os) |
| 131 | : std::basic_ostream<CharT, Traits>(&buf_) |
| 132 | , buf_(os) |
| 133 | { |
| 134 | if(os.flags() & std::ios::unitbuf) |
| 135 | std::unitbuf(*this); |
| 136 | } |
| 137 | }; |
| 138 | |
| 139 | } // detail |
nothing calls this directly
no outgoing calls
no test coverage detected