MCPcopy Create free account
hub / github.com/apache/brpc / Foo

Class Foo

test/bvar_reducer_unittest.cpp:263–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263struct Foo {
264 int x;
265 Foo() : x(0) {}
266 explicit Foo(int x2) : x(x2) {}
267 void operator+=(const Foo& rhs) {
268 x += rhs.x;
269 }
270};
271
272std::ostream& operator<<(std::ostream& os, const Foo& f) {
273 return os << "Foo{" << f.x << "}";

Callers 1

TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.56