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

Method GetMessage

common/value.h:1799–1799  ·  view source on GitHub ↗

Performs an unchecked cast from a value to a message value. In debug builds a best effort is made to crash. If `IsMessage()` would return false, calling this method is undefined behavior.

Source from the content-addressed store, hash-verified

1797 // debug builds a best effort is made to crash. If `IsMessage()` would return
1798 // false, calling this method is undefined behavior.
1799 MessageValue GetMessage() & { return std::as_const(*this).GetMessage(); }
1800 MessageValue GetMessage() const&;
1801 MessageValue GetMessage() &&;
1802 MessageValue GetMessage() const&& { return GetMessage(); }

Callers 1

GetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected