Top "Operator-overloading" questions

Operator overloading is a feature of a programming language that allows custom implementations for operators depending on the types of the operands involved.

What does "operator = must be a non-static member" mean?

I'm in the process of creating a double-linked list, and have overloaded the operator= to make on list equal another: …

c++ class operator-overloading non-static
Overloading assignment operator in C#

I know the = operator can't be overloaded, but there must be a way to do what I want here: I'm …

c# operator-overloading
operator overloading in python

Possible Duplicates: Python: defining my own operators? Rules of thumb for when to use operator overloading in python Is it …

python operator-overloading
Override Python's 'in' operator?

If I am creating my own class in Python, what function should I define so as to allow the use …

python operator-overloading operators in-operator
Implementation of operators for enum class

Following the discussion in question Incrementation and decrementation of “enum class”, I'd like to ask about the possible implementation of …

c++ c++11 operator-overloading enum-class
virtual assignment operator C++

Assignment Operator in C++ can be made virtual. Why is it required? Can we make other operators virtual too?

c++ operator-overloading virtual virtual-functions
Overloading Arithmetic Operators in JavaScript?

This is the best way I can think of phrasing this question, given this JavaScript "class" definition: var Quota = function(…

javascript operator-overloading
Javascript: operator overloading

I've been working with JavaScript for a few days now and have got to a point where I want to …

javascript operators operator-overloading
Operator overloading outside class

There are two ways to overload operators for a C++ class: Inside class class Vector2 { public: float x, y ; Vector2 …

c++ operator-overloading