Jump to Post
The string class overloads the + operator to do string concatenation.
You seldom have to use operator overloading yourself.
You could use it, if you had for example written a date class or complex number class, to add two dates or complex numbers together.
All 2 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.