Vec::operator +

Background

This operator returns the value of the sum of this vector and another vector.

Prototype

Vec operator +( const Vec & iv ) const

Parameters

  • const Vec & iv: The vector value.

Return Value

The return value is a temporary containing the vector sum.