News

Operator overloading or ad-hoc polymorphism lets you work with user defined types much the same way you work with fundamental data types Polymorphism is one of the basic principles of OOP (Object ...
The friend keyword in C++ allows a function or a class to access private and protected members of another class. When overloading operators, friend functions often come in handy because they allow for ...