Forum Discussion
medrift
12 years agoHonored Guest
Inheritance and operator overloading
With the following piece of code: #include<iostream> using namespace std; class base { public: base() {; } base operator+(base ob2) { base temp; return temp; } base operato...
medrift
12 years agoHonored Guest
"Knitschi" wrote:
.... because I forgot about the automatically generated assignment operators.
That's the part that got me stuck for a while. I could work out the first part but not second one. You live and learn. Thanks for confirming.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 8 months ago
- 5 years ago