In this recipe, we will learn about what a reference qualified member function is. Although this aspect of the C++ language is less used and understood, it is important because it provides the programmer with the ability to handle how resources are operated on, based on whether or not the class is in an l-value or r-value state when a function is called.
Referencing qualified member functions
Getting ready
Before beginning, please ensure that all of the technical requirements are met, including installing Ubuntu 18.04 or higher and running the following in a Terminal window:
> sudo apt-get install build-essential git
This will ensure your operating system has the proper tools to compile and execute the examples in this...