Template is the Culprit - A Lesson from C++ 🔧
· 9 min read
tl;dr
DON'T use templates when writing library code where you want to hide the dependency on a third party library, so that downstream projects don't have to link against it. Use interface and inheritance instead.