MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / WrapUnique

Function WrapUnique

common/memory.h:708–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706
707template <typename T>
708std::enable_if_t<!std::is_const_v<T>, Unique<T>> WrapUnique(T* object) {
709 return Unique<T>(object);
710}
711
712template <typename T>
713Unique<T> WrapUnique(T* object, Allocator<> allocator) {

Callers 15

BuildMethod · 0.85
VariableScopeClass · 0.85
ExprPtrFromAnyFunction · 0.85
CreateMethod · 0.85
CreateMethod · 0.85
CreateMessageFromTextMethod · 0.85
MockExpectCallDirectStepFunction · 0.85
CreateMethod · 0.85
TEST_FFunction · 0.85
ReleaseListValueMethod · 0.85

Calls 1

arenaMethod · 0.45

Tested by 6

CreateMessageFromTextMethod · 0.68
MockExpectCallDirectStepFunction · 0.68
TEST_FFunction · 0.68
CreateFromRuntimeMethod · 0.68