MCPcopy Create free account
hub / github.com/FidoProject/Fido / CopyableStream

Class CopyableStream

tests/catch.h:1207–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1205 struct STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison;
1206
1207 struct CopyableStream {
1208 CopyableStream() {}
1209 CopyableStream( CopyableStream const& other ) {
1210 oss << other.oss.str();
1211 }
1212 CopyableStream& operator=( CopyableStream const& other ) {
1213 oss.str("");
1214 oss << other.oss.str();
1215 return *this;
1216 }
1217 std::ostringstream oss;
1218 };
1219
1220 class ResultBuilder {
1221 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected