MCPcopy 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
37struct FooDeleter {
38 void operator()(Foo* f) const {
39 f->destroy();
40 }
41};
42
43TEST_F(UniquePtrTest, basic) {

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected