When we implememt classes in C++ there is a special this pointer pointing to the current instance of the classes it is called for. Here I will show some interesting things about this pointer I have learnt.
‘this’ is const pointer
We can’t modify it. Let’s see on some toy example:
When working on Flask project we often need a functionality to send emails to users. For instance, when registering user we would like to verify his email address or if a user forgot his password and we need to allow him to reset password.