-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should STL try to avoid introducing standard identifiers without corresponding header included? #963
Comments
The implementation acts contrary to such a goal whenever it defines machinery in centralized headers for maintainer convenience: Lines 41 to 46 in 5e3423a
And when headers include other headers: Lines 11 to 13 in 5e3423a
The latter can have significant throughput consequences in addition to identifier cleanliness, and we've reduced some of that over time. I tend to feel that identifier cleanliness can't really be achieved without modules so it's futile to try, although it is worth investigating and mitigating significant throughput impacts (e.g. avoid including We should definitely make a decision though. Thanks for filing this. |
I don't think we could reasonably achieve this before modules. |
I've attempted to do something like this before and we were forced to back it out because way too many things broke; for example this is why |
We talked about this at the weekly maintainer meeting and concluded that this is indeed not feasible - we need far too many bits of the STL to implement other components, and providing Standard Library Modules will be disciplined about exporting only Standard machinery (and only in |
See #795 (comment)
The text was updated successfully, but these errors were encountered: