Use of “this” keyword in C++
Yes, it is not required and is usually omitted. It might be required for accessing variables after they have been overridden in the scope though: Also, this: It is pretty bad style; if you need an initializer with the same name use this notation: More info here: https://en.cppreference.com/w/cpp/language/initializer_list