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

Function ValueVariant

common/values/value_variant.h:432–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430 ValueVariant() = default;
431
432 ValueVariant(const ValueVariant& other) noexcept
433 : index_(other.index_), kind_(other.kind_), flags_(other.flags_) {
434 if ((flags_ & ValueFlags::kNonTrivial) == ValueFlags::kNone) {
435 std::memcpy(raw_, other.raw_, sizeof(raw_));
436 } else {
437 SlowCopyConstruct(other);
438 }
439 }
440
441 ValueVariant(ValueVariant&& other) noexcept
442 : index_(other.index_), kind_(other.kind_), flags_(other.flags_) {

Callers 5

ToValueVariantMethod · 0.85
ToValueVariantMethod · 0.85
ToValueVariantMethod · 0.85
ToValueVariantMethod · 0.85
value_variant.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected