Continued from C++ template code size

When using template functions or classes from a shared library, the instantiations can be stored in your app code too. This increases code size and mitigates benefits of using a shared library. If you are creating the shared library, a solution is to explicitly instantiate templates in its code.

See C++ Function definitions in header (a)