| 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_) { |
no outgoing calls
no test coverage detected