examples of C++ Templates - The Complete Guide