Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Except that extern template is unfortunately completely useless for any STL or Boost classes, which produce 99% of all the code bloat:

https://msdn.microsoft.com/en-us/library/by56e477.aspx

> Note: The extern keyword in the specialization only applies to member functions defined outside of the body of the class. Functions defined inside the class declaration are considered inline functions and are always instantiated.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: