-
Use member function templates to generate functions that accept all compatible types.
-
If you declare member templates for generalized copy construction or generalized assignment, you'll still need to declare the normal copy constructor and copy assignment operator, too.
转载于:https://www.cnblogs.com/zhtf2014/archive/2011/04/07/2008256.html