Update guidelines for existence of C++20 modules
@GabrielDosReis ci sta già lavorando.
Dal 15/1/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
In at least four places, the guidelines mention modules as if they were still in the future. Specifically,
- ES.30, Note: In the future, modules are likely to eliminate the need for macros in configuration control.
- SF.4, 2nd Note, last bullet point: full protection and flexibility require modules.
- SF.9, Reason: [Cycles] complicate conversion to use language-supported modules (when they become available).
- SF.10, Enforcement: No really good solution is possible until we have modules.
Appendix B also frames the issue in terms of modules, but I suspect it means that in a more general sense, like translation unit or source file.
Since modules have been approved for about five years, it would be helpful if these were updated to reflect current implementations.
In addition, SF.22 recommends using unnamed (anonymous) namespaces rather than static declarations. However, if you use a C++ module shouldn't declaring an entity in the module without export have the same external effect as using an unnamed namespace?
- Lingua principale
- CSS
- Stelle
- 45.3k
- Fork
- 5.6k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di isocpp/CppCoreGuidelines
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 75/100
isocpp/CppCoreGuidelines#2338 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
isocpp/CppCoreGuidelines#2205 · 8 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 64/100
isocpp/CppCoreGuidelines#1649 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
isocpp/CppCoreGuidelines#2336 · 4 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
isocpp/CppCoreGuidelines#2335 · 2 commenti ·