Mixing C++ Template Specialization with Non-template Overloads - Who Wins ?
As C++ developers, we often use overloaded functions when we have different logic to handle different types of data, so we write a separate implementation per type. The down-side of this approach is that we don’t have a fallback implementation that applies as a default to the types for which we don’t have implementation.
c++
templates
Learn more