Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
707
template <typename T>
708
std::enable_if_t<!std::is_const_v<T>, Unique<T>> WrapUnique(T* object) {
709
return Unique<T>(object);
710
}
711
712
template <typename T>
713
Unique<T> WrapUnique(T* object, Allocator<> allocator) {
Callers
15
Build
Method · 0.85
VariableScope
Class · 0.85
ExprPtrFromAny
Function · 0.85
Create
Method · 0.85
Create
Method · 0.85
CreateMessageFromText
Method · 0.85
flat_expr_builder_extensions.cc
File · 0.85
MockNeverCalledDirectStep
Function · 0.85
MockExpectCallDirectStep
Function · 0.85
Create
Method · 0.85
TEST_F
Function · 0.85
ReleaseListValue
Method · 0.85
Calls
1
arena
Method · 0.45
Tested by
6
CreateMessageFromText
Method · 0.68
MockNeverCalledDirectStep
Function · 0.68
MockExpectCallDirectStep
Function · 0.68
TEST_F
Function · 0.68
CreateFromCelExpressionBuilder
Method · 0.68
CreateFromRuntime
Method · 0.68