Lines Matching defs:other
48 InstrumentType(const InstrumentType& other) : value_(other.value_) {
51 InstrumentType(InstrumentType&& other) : value_(std::move(other.value_)) {
54 InstrumentType(const TestType<T>& other) : value_(other.get()) {
57 InstrumentType(TestType<T>&& other) : value_(other.take()) {
62 InstrumentType& operator=(const InstrumentType& other) {
64 value_ = other.value_;
67 InstrumentType& operator=(InstrumentType&& other) {
69 value_ = std::move(other.value_);
73 InstrumentType& operator=(const TestType<T>& other) {
75 value_ = other.get();
78 InstrumentType& operator=(TestType<T>&& other) {
80 value_ = other.take();
528 // Construct from other temporary.
539 // Construct from other temporary.
541 // Assign from other temporary.
552 // Construct from other temporary.
565 TestType<int> other(10);
566 // Construct from other.
567 Variant<int, InstrumentType<int>> v(other);
578 // Construct from other temporary.
580 TestType<int> other(10);
581 // Assign from other.
582 v = other;