protocol Add<RHS>Defines the + operator for a right-hand operand type.
RHS and Ret may differ from Self, allowing mixed-type addition and concatenation. Operands are borrowed unless a concrete signature says otherwise.
Methods
func add(_ rhs: RHS) -> Ret
Combines Self with a right-hand operand using addition semantics.
View Source
func add(_ rhs: RHS) -> Ret