Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ operator()
Method
operator()
test/unique_ptr_unittest.cpp:38–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
37
struct FooDeleter {
38
void operator()(Foo* f) const {
39
f->destroy();
40
}
41
};
42
43
TEST_F(UniquePtrTest, basic) {
Callers
nothing calls this directly
Calls
1
destroy
Method · 0.45
Tested by
no test coverage detected