Useful new feature!
C++23’s Deducing this: what it is, why it is, how to use it
by Sy Brand
From the article:
Deducing this (P0847) is a C++23 feature which gives a new way of specifying non-static member functions. Usually when we call an object’s member function, the object is implicitly passed to the member function, despite not being present in the parameter list. P0847 allows us to make this parameter explicit, giving it a name and const/reference qualifiers...
Add a Comment
Comments are closed.