A template function/class gets instantiated for every type it is called with. This entails duplication of all member functions. A way to reduce binary size is to remove template functions and use other methods that incur some runtime cost.
A template function/class gets instantiated for every type it is called with. This entails duplication of all member functions. A way to reduce binary size is to remove template functions and use other methods that incur some runtime cost.