Lines Matching defs:rhs
108 Format::Format(const Format &rhs)
110 FALSE_RETURN_W(&rhs != this);
114 FALSE_RETURN_W(rhs.meta_ != nullptr);
115 *(this->meta_) = *(rhs.meta_);
116 CopyFormatVectorMap(rhs.formatVecMap_, formatVecMap_);
119 Format::Format(Format &&rhs) noexcept
121 this->meta_ = rhs.meta_;
122 std::swap(formatVecMap_, rhs.formatVecMap_);
125 Format &Format::operator=(const Format &rhs)
127 FALSE_RETURN_V_W(&rhs != this, *this);
130 FALSE_RETURN_V_W(rhs.meta_ != nullptr, *this);
131 *(this->meta_) = *(rhs.meta_);
132 CopyFormatVectorMap(rhs.formatVecMap_, this->formatVecMap_);
136 Format &Format::operator=(Format &&rhs) noexcept
138 FALSE_RETURN_V(&rhs != this, *this);
139 this->meta_ = rhs.meta_;
140 std::swap(this->formatVecMap_, rhs.formatVecMap_);