LWN.net Logo

Bundled == old

Bundled == old

Posted Apr 10, 2012 9:19 UTC (Tue) by epa (subscriber, #39769)
In reply to: Bundled == old by cmccabe
Parent article: Wheeler: Insecure open source software libraries?

I'm not sure I understand you rightly, but I always thought that it was impossible for a library to provide Matrix<Foo> unless the author of the library already knew about the Foo type. If Foo is a type specific to your application, it's not going to be something your matrix library knows about. Is that no longer the case with today's C++ toolchains?


(Log in to post comments)

Bundled == old

Posted Apr 10, 2012 15:22 UTC (Tue) by cmccabe (guest, #60281) [Link]

No, you can't instantiate Matrix<Foo> without knowing about type Foo. I'm just saying that there are a lot of templates out there that aren't inlined.

My biggest point, if I have one, is that mixing the inlined and non-inlined stuff is what creates the versioning problems.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds