what does "rhs" mean?
-
Hi, I recently started learning pure C++ and want to know what does "rhs" mean? For example: class MyClass { public: MyClass& operator=(const MyClass& rhs); }; I've investigated that "rhs" is frequently-used in operator overloaders in C++ classes. What is "rhs"? May I use another word (for example, "dog") instead "rhs"? Sorry for stupid question. Yours sincerely, Alex Bash
-
Hi, I recently started learning pure C++ and want to know what does "rhs" mean? For example: class MyClass { public: MyClass& operator=(const MyClass& rhs); }; I've investigated that "rhs" is frequently-used in operator overloaders in C++ classes. What is "rhs"? May I use another word (for example, "dog") instead "rhs"? Sorry for stupid question. Yours sincerely, Alex Bash
-
Hi, I recently started learning pure C++ and want to know what does "rhs" mean? For example: class MyClass { public: MyClass& operator=(const MyClass& rhs); }; I've investigated that "rhs" is frequently-used in operator overloaders in C++ classes. What is "rhs"? May I use another word (for example, "dog") instead "rhs"? Sorry for stupid question. Yours sincerely, Alex Bash