Re: [boost] [c++ question] detecting reference to temporaries
 
            
            
            
            
                25 Oct
                
                    2018
                
            
            
                25 Oct
                
                '18
                
            
            
            
        
    
                5:47 p.m.
            
        Is there any technique that would let me test for reference to temporaries? The only option I see would be to promote compiler warnings into error, but maybe there is something there?
AddressSanitizer with -fsanitize-address-use-after-scope https://github.com/google/sanitizers/wiki/AddressSanitizerUseAfterScope
        2563
        
      
          Age (days ago)
        
      
        2563
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Nikita Kniazev Nikita Kniazev