Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7731 Discussions

Syntax for Operator Overloading in C++

AnkitTech
Beginner
244 Views

class className

{
//enter the text
public
returnType operator symbol (arguments)

{
//enter the text
}
//enter the text
};

0 Kudos
0 Replies
Reply