At the end of this chapter, you should be able to understand
Using template classes employing template class member functions as well as non-template class member functions.
Use type-specific friend functions and static member function and data.
Use generic programs extensively for data structure implementation such as stack.
Appreciate concepts of developing template libraries.
Generic programming means writing programs that will work for any type of data, i.e. make the programs independent of the type of data. With generic programs, there will be no need to develop type-specific programs for each data type. Templates in C++ are implementation tools provided to ...