 
            
            
            
            
                26 Mar
                
                    2021
                
            
            
                26 Mar
                
                '21
                
            
            
            
        
    
                1:10 p.m.
            
        Mathias Gaunard wrote:
It is not clear from the documentation what the capture behaviour of terminals is. I assume it's capturing rvalues by value and lvalues by reference?
The capture behavior is inherited from std::bind, which captures everything by value by default unless overridden with std::ref.