Template Parameters: this and alias
Learn about “this” and alias type of template parameters.
We'll cover the following...
this
template parameters for member functions
Member functions can be templates as well. Their template parameters have the same meaning as other templates.
However, unlike other templates, member function template parameters can also be this parameters. In this case, the identifier that comes after this
keyword represents the exact type of the object that this
refers to.
this
reference means the object itself, it is commonly written in constructors as this.member = value. ...
struct