Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Update guidelines for existence of C++20 modules

Aperta
#2,295 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di isocpp/CppCoreGuidelines

Tutte le issue di isocpp/CppCoreGuidelines

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.