What is the compound assignment operator overloading syntax? I cannot find on the web. How can for example overload operator+= ?
I know that it has to be a member function but what has to be its return value? reference?
merse
0
Junior Poster
Recommended Answers
Jump to Post>I cannot find on the web.
You didn't look very hard, did you? This is the first hit from google that I got using keywords from your thread title.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.