MCPcopy Create free account
hub / github.com/apache/qpid-proton / ReusableStringStream

Method ReusableStringStream

tests/include/catch.hpp:13781–13784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13779 };
13780
13781 ReusableStringStream::ReusableStringStream()
13782 : m_index( Singleton<StringStreams>::getMutable().add() ),
13783 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
13784 {}
13785
13786 ReusableStringStream::~ReusableStringStream() {
13787 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