3 ms·
I agree that putting templates where they not belong causes problems (even more than just longer compile times and obfuscation). However, properly designed tem
by llukas 8y ago
I agree that putting templates where they not belong causes problems (even more than just longer compile times and obfuscation).
However, properly designed templates with enough attention put into exposing functionality beat non-templated approaches right off the bat.
Example: http://eigen.tuxfamily.org/dox/TopicInsideEigenExample.html http://eigen.tuxfamily.org/dox/TopicInsideEigenExample.html