Generic programming is a powerful way to define a function that works in an analogous way for a class of types. In this article, I describe… 2,380 more words