Today on Kukuruku:
Ref-qualified member functions
by Alexander Kulikov
From the article:
Today I’m going to tell you about a new and a little known (to my mind) C++ feature — reference-qualified member functions. I’ll tell about the rules of such functions overloading and, as an example of use, I’ll show you that with the help of ref-qualified you can try to improve the resource management scheme, which is implemented with the help of another C++ idiom — RAII.
Add a CommentComments are closed.