MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / ReusableStringStream

Method ReusableStringStream

deps/Catch/catch.hpp:13678–13681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13676 };
13677
13678 ReusableStringStream::ReusableStringStream()
13679 : m_index( Singleton<StringStreams>::getMutable().add() ),
13680 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
13681 {}
13682
13683 ReusableStringStream::~ReusableStringStream() {
13684 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