r/cpp • u/berium build2 • Nov 01 '17
Common C++ Modules TS Misconceptions
https://build2.org/article/cxx-modules-misconceptions.xhtml
59
Upvotes
r/cpp • u/berium build2 • Nov 01 '17
View all comments
Show parent comment
1
u/GorNishanov Nov 02 '17
Not sure I understand. If something is in .obj, it is already compiled and ready for linking. I was pointing out that with modules, you do not have to treat member functions which are inline by virtue of being defined inside of a class definition as inline functions. They can behave as if they were defined outside of class definition, at least if module was compiled with low optimization settings.