Click here to Skip to main content
13,454,507 members (56,445 online)
Click here to Skip to main content

Tagged as


Posted 28 Oct 2011

Operator overloading in C++

, 28 Oct 2011
The original solution has many flaws. Arguments and return types are not what they should be in most cases (by value vs. by reference and also for the constness). No code reuse and also some operators are not doing what would be intuitive like the unary minus.Information here is much more...



Compare Revision Minor Date Status Editor
2 - publicly available No 28-Oct-11 13:12 Available Smitha Nishant
1 No 28-Oct-11 13:08 Composing Philippe Mori


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Philippe Mori
Software Developer (Senior)
Canada Canada
Programmer at Maid LABS from 2003 (

Programmer-Analyst at Viasat Geo Technoligies from 1995 to 2002 (

I have studied at École Polytechnique de Montréal in computer engineering.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03-2016 | 2.8.180321.1 | Last Updated 28 Oct 2011
Article Copyright 2011 by Philippe Mori
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid