Overloading operator without having a class
<p>Can we use operator overloading on non-objects? e.g adding two <code>vector&lt;int&gt;</code>. Or do I need to make a class having <code>vector&lt;int&gt;</code> and then overload the <code>+</code> operator.</p>

<p>Also, I want to know if it is possible to have 2 different types of operands in a binary operator. If yes, how?</p>