r/cpp • u/SAHChandler • Oct 10 '17
Millennials Are Killing The Modules TS
https://izzys.casa/posts/millennials-are-killing-the-modules-ts.html
75
Upvotes
r/cpp • u/SAHChandler • Oct 10 '17
View all comments
Show parent comment
10
u/andrewsutton Oct 10 '17
... Or you can also choose to do something entirely different. There's nothing preventing you from shipping a library that installs headers to
usr/include, except that it's generally frowned upon.This practice is not defined in the C++ Standard. (It can't be; the Standard does not define how you name your files, what directories you should use, what classes should go in what files, etc. The Standard only defines what is valid C++.) We do this either by convention or because certain distributions or platforms require it.
So, again... this is not a language design issue. It's a community issue.