Utility Functions Constrained
Get an overview of how the utility functions can be constrained.
We'll cover the following...
Utility functions are most often free or static functions. They are meant to be used with certain user-defined types.
Usually, utility functions make sense only with a handful of types. If the number of types is limited enough, or maybe if they are tied to a class hierarchy, using these utilities is straightforward.
However, if the available ...