operator overloading


Also found in: Wikipedia.

operator overloading

This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

operator overloading

Being able to use the same operator type to perform different operations. For example, arithmetic operators such as +, -, * and / could be defined to perform differently on certain kinds of data. See overloading.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
Operator Overloading - In addition to the predefined operators, Swift lets you overload entirely new characters from a limited character set.
The OpenCL C++ kernel language is a static subset of C++14 and significantly boosts parallel programming productivity by providing lambda functions, classes, templates, operator overloading, and many other C++ features to free developers from low-level coding details without sacrificing performance.
Coverage includes syntax, type basics, numeric types, Boolean type and operators, strings and characters, arrays, variables and parameters, expressions and operators, statements, namespaces, classes, inheritance, the object type, structs, access modifiers, interfaces, enums, nested types, generics, delegates, events, Lambda expressions, anonymous methods, try statements and exceptions, enumeration and iterators, nullable types, operator overloading, extension methods, anonymous types, LINQ, dynamic binding, attributes, caller info attributes (C#5.0), asynchronous functions (C#5.0), unsafe code and pointers, preprocessor directives, and XML documentation.
The authors also discuss new features such as generics, operator overloading, and anonymous methods.
One of many advantages of C++ is operator overloading. I would not implement a date library solely with procedure calls; I would also overload operators.
The other chapters concern C++ specific topics such as object-orientation, classes and abstraction, allocating and deallocating memory, inheritance and polymorphism, templates, the STL (standard template library), operator overloading, exceptions, and C++ syntax and semantics.
Object-oriented programming, classes and objects, inside methods, basic debugging, arrays, inheritance and polymorphism, operator overloading, interfaces, generics and collections, strings, throwing and catching exceptions, delegates and events, creating windows applications and programming ASP.NET applications.

Full browser ?