Reserved identifiers used for include guards
 
            
            
            
            
                8 Jul
                
                    2025
                
            
            
                8 Jul
                
                '25
                
            
            
            
        
    
                10:23 a.m.
            
        Hi, I found that many include guard macros in Boost contain "__HPP" (note the double underscore). It would be nice to reduce those underscores to one, because identifiers containing two consecutive underscores "are reserved to the implementation for any use" (C++ standard, [lex.name]). -- Gennaro Prota <https://prota.dev>
 
            
            
            
            
                8 Jul
                
            
            
                8 Jul
                
            
            
            
        
    
                12:04 p.m.
            
        On 8 Jul 2025 11:23, Gennaro Prota via Boost wrote:
Hi,
I found that many include guard macros in Boost contain "__HPP" (note the double underscore). It would be nice to reduce those underscores to one, because identifiers containing two consecutive underscores "are reserved to the implementation for any use" (C++ standard, [lex.name]).
I think, this is best done with PRs to the respective libraries.
        115
        
      
          Age (days ago)
        
      
        115
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                 Andrey Semashev Andrey Semashev
- 
                 Gennaro Prota Gennaro Prota