Repository navigation
Avoid using-directives in the global scope in headers #3326
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Activity
Fixed non-PWG directories
- pinned this issue
on Apr 11, 2024 Test implemented in:
- changed the title
[-]Avoid using-directives in headers[/-][+]Avoid using-directives in the global scope in headers[/+]on Jan 22, 2025 - [ALICE3] Fix includes and using statements #15379
- [Common] Fix includes and using statements #15380
- [DPG] Fix includes and using statements #15381
- [Trigger,PWGCF,PWGEM,PWGHF,PWGJE,PWGLF,PWGMM,PWGUD] Fix includes and using statements #15382
- [PWGCF] Fix includes and using statements #15383
- [PWGDQ] Fix includes and using statements #15384
- [PWGEM] Fix includes and using statements #15385
- [PWGHF] Fix includes and using statements #15386
- [PWGJE] Fix includes and using statements #15387
- [PWGLF] Fix includes and using statements #15388
- [PWGLF,PWGMM] Fix includes and using statements #15389
- [PWGUD] Fix includes and using statements #15390
- [Tools] Fix includes and using statements #15391
- [Tutorial,PWGCF,PWGEM,PWGHF,PWGLF,PWGMM,PWGUD] Fix includes and using statements #15392
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Using-directives should never appear in the global scope in headers because they irreversibly pollute the global namespace wherever they are included and can lead to unexpected behaviour, such as name conflicts. See O2 CodingGuidelines, C++ Core Guidelines.