MCPcopy Create free account
hub / github.com/IronsDu/brynet / ReusableStringStream

Method ReusableStringStream

tests/catch.hpp:13675–13678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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