MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / ~ReusableStringStream

Method ~ReusableStringStream

tests/catch.hpp:11078–11082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11076 {}
11077
11078 ReusableStringStream::~ReusableStringStream() {
11079 static_cast<std::ostringstream*>( m_oss )->str("");
11080 m_oss->clear();
11081 Singleton<StringStreams>::getMutable().release( m_index );
11082 }
11083
11084 auto ReusableStringStream::str() const -> std::string {
11085 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