MCPcopy Create free account
hub / github.com/Profactor/cv-plot / ReusableStringStream

Method ReusableStringStream

CvPlot/ext/catch2/inc/catch.hpp:13540–13543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13538 };
13539
13540 ReusableStringStream::ReusableStringStream()
13541 : m_index( Singleton<StringStreams>::getMutable().add() ),
13542 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
13543 {}
13544
13545 ReusableStringStream::~ReusableStringStream() {
13546 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