this
means pointer to the object, so *this
is an object. So you are returning an object ie, *this
returns a reference to the object.
More Related Contents:
- Why is ‘this’ a pointer and not a reference?
- What is the ‘this’ pointer?
- Matrix Printing using Pointers [closed]
- Passing a 2D array to a C++ function
- What exactly is nullptr?
- Why does cout print char arrays differently from other arrays?
- Why is address zero used for the null pointer?
- How many levels of pointers can we have?
- May I take the address of the one-past-the-end element of an array? [duplicate]
- Can a pointer to base point to an array of derived objects?
- How to get the real and total length of char * (char array)?
- Near and Far pointers
- Check if a pointer points to allocated memory on the heap
- Modifying a char *const string
- Weird Behaviour with const_cast [duplicate]
- Reason why not to have a DELETE macro for C++
- Is the “one-past-the-end” pointer of a non-array type a valid concept in C++?
- What is the difference between std::reference_wrapper and a simple pointer?
- Pointer to array with const qualifier in C & C++
- Is it unspecified behavior to compare pointers to different arrays for equality?
- Are pointer variables just integers with some operators or are they “symbolic”?
- Pointer to array of unspecified size “(*p)[]” illegal in C++ but legal in C
- How to print member function address in C++
- C++: Why is const_cast evil?
- How to pass a 2d array through pointer in c [duplicate]
- Is incrementing a null pointer well-defined?
- Why isn’t operator overloading for pointers allowed to work?
- C++ strings: [] vs. *
- pointer comparisons “>” with one before the first element of an array object
- Does the standard mandate an lvalue-to-rvalue conversion of the pointer variable when applying indirection?