Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ destroy
Method
destroy
test/unique_ptr_unittest.cpp:31–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
struct Foo {
30
Foo() : destroyed(false), called_func(false) {}
31
void destroy() { destroyed = true; }
32
void func() { called_func = true; }
33
bool destroyed;
34
bool called_func;
Callers
3
TEST
Function · 0.45
check
Function · 0.45
operator()
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected