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

Function FastCopyAssign

common/values/value_variant.h:784–790  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782 }
783
784 ABSL_ATTRIBUTE_ALWAYS_INLINE void FastCopyAssign(
785 const ValueVariant& other) noexcept {
786 index_ = other.index_;
787 kind_ = other.kind_;
788 flags_ = other.flags_;
789 std::memcpy(raw_, other.raw_, sizeof(raw_));
790 }
791
792 ABSL_ATTRIBUTE_ALWAYS_INLINE void FastMoveAssign(
793 ValueVariant& other) noexcept {

Callers 3

value_variant.hFile · 0.85
FastMoveAssignFunction · 0.85
SlowCopyAssignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected