Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
int g_foo_copy_ctor = 0;
46
int g_foo_assign = 0;
47
struct Foo {
48
Foo() { ++g_foo_ctor; }
49
Foo(const Foo&) { ++g_foo_copy_ctor; }
50
void operator=(const Foo&) { ++g_foo_assign; }
51
};
52
struct Bar {
53
int x;
54
};
Callers
1
TEST_F
Function · 0.70
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.56