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

Method get_deleter

src/butil/unique_ptr.h:327–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325 pointer operator->() const {return get();}
326 pointer get() const {return ptr_.first();}
327 deleter_reference get_deleter() {return ptr_.second();}
328 deleter_const_reference get_deleter() const {return ptr_.second();}
329 operator int nat::*() const {return get() ? &nat::for_bool_ : 0;}
330

Callers 9

TESTFunction · 0.45
unique_ptrMethod · 0.45
unique_ptrClass · 0.45
unique_ptrMethod · 0.45
unique_ptr<T[], D>Class · 0.45
scoped_ptr_implMethod · 0.45
TakeStateMethod · 0.45
scoped_ptrClass · 0.45
scoped_ptr<T[], D>Class · 0.45

Calls 1

secondMethod · 0.80

Tested by 1

TESTFunction · 0.36