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

Method ~ReusableStringStream

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

Source from the content-addressed store, hash-verified

13543 {}
13544
13545 ReusableStringStream::~ReusableStringStream() {
13546 static_cast<std::ostringstream*>( m_oss )->str("");
13547 m_oss->clear();
13548 Singleton<StringStreams>::getMutable().release( m_index );
13549 }
13550
13551 auto ReusableStringStream::str() const -> std::string {
13552 return static_cast<std::ostringstream*>( m_oss )->str();

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
releaseMethod · 0.80

Tested by

no test coverage detected