Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Irrational fear of C++

Name: Anonymous 2010-01-22 14:25

I have an irrational fear of C++. More than once have I swayed away from useful libraries because all they offered was a C++ API. I have perused several books on C++, but they have done nothing but strengthened the feeling that C++ is too complex to reasonably handle. What to do?

Name: Anonymous 2010-01-22 23:00

>>19
Because the signatures of those operations are different. One is a unary operator used on the object itself and one requires a right-hand side.

Overloading the multiplication operator: T operator *(const T &);
Overloading the unary dereference operator: T & operator *();

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List