It is quite true that operator overloading looks such a big deal for beginners. I had my problems with that as well when I started with C++ and kept ignoring it considering it to be a complex thingie. But I tell you it is not. For an initial introduction to it, you may find this Codeguru FAQ entry quite useful : C++ Operator: How to deal with operator overloading?
Hope you find it interesting and easy to follow.
Keep rocking! Cheers!
Saturday, April 14, 2007
Operator overloading basics
Posted by
abnegator
at
4/14/2007 04:39:00 PM
Labels:
arithematic operators,
basics,
C++,
friends,
NRVO,
op in terms of op=,
operator overloading,
post-increment,
pre-increment,
RVO,
stream operators,
templates
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment