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

Method ReusableStringStream

tests/catch.hpp:11073–11076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11071 };
11072
11073 ReusableStringStream::ReusableStringStream()
11074 : m_index( Singleton<StringStreams>::getMutable().add() ),
11075 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
11076 {}
11077
11078 ReusableStringStream::~ReusableStringStream() {
11079 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