1
Overload Unary Minus Operator in C++
2 Months ago, Saturday, Apr 26, 2025, 09:25:33 by
admin
in
Design / Dev
The operator keyword declares a function specifying what operator-symbol means when applied to instances of a class. This gives the operator more than one meaning, or "overloads" it. The compiler distinguishes between the different meanings of an operator by examining the types of its operands.
rated 1 times (+1) (-0) - comments: 0 - hits: 24 - www.tutorialspoint.com
Comments
There are no comments for this article.
Only authorized users can leave comments. Please sign in first, or register a free account.