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

Function to_address

internal/to_address.h:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#else
36template <typename T>
37constexpr T* to_address(T* ptr) noexcept {
38 static_assert(!std::is_function<T>::value, "T must not be a function");
39 return ptr;
40}
41
42template <typename T, typename = void>
43struct PointerTraitsToAddress {

Callers 15

AdaptListValueFunction · 0.85
AdaptStructFunction · 0.85
AdaptAnyFunction · 0.85
AdaptFromMessageFunction · 0.85
EqualsMethod · 0.85
SingularFieldEqualsMethod · 0.85
FieldEqualsMethod · 0.85
PackMessageFunction · 0.85
TESTFunction · 0.85
DispatchMethod · 0.85

Calls

no outgoing calls

Tested by 15

PackMessageFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TEST_PFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68