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

Class Foo

test/flat_map_unittest.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45int g_foo_copy_ctor = 0;
46int g_foo_assign = 0;
47struct Foo {
48 Foo() { ++g_foo_ctor; }
49 Foo(const Foo&) { ++g_foo_copy_ctor; }
50 void operator=(const Foo&) { ++g_foo_assign; }
51};
52struct Bar {
53 int x;
54};

Callers 1

TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.56