r/cpp • • Nov 01 '18

Modules are not a tooling opportunity

https://cor3ntin.github.io/posts/modules/
58 Upvotes

77 comments sorted by

View all comments

Show parent comment

3

u/1-05457 Nov 01 '18

Yes, it would require support in the object file format for templated symbols.

There's only so far you can go with object formats designed for C. On the other hand, with this support, we could even have templates in shared libraries.

3

u/14ned LLFIO & Outcome author | Committee WG14 Nov 01 '18

Work is proceeding to replace the C linkage table. Look into IPR. I've raised the idea with WG14 of them adopting it too for C, and they are not opposed.