MCPcopy Create free account
hub / github.com/bitfieldaudio/OTTO / ReusableStringStream

Method ReusableStringStream

external/include/catch.hpp:9392–9395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9390 }
9391
9392 ReusableStringStream::ReusableStringStream()
9393 : m_index( StringStreams::instance().add() ),
9394 m_oss( StringStreams::instance().m_streams[m_index].get() )
9395 {}
9396
9397 ReusableStringStream::~ReusableStringStream() {
9398 static_cast<std::ostringstream*>( m_oss )->str("");

Callers

nothing calls this directly

Calls 2

addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected