[Click] Bitvector::Bit::operator= should return *this

Eddie Kohler kohler at cs.ucla.edu
Mon Nov 17 17:14:49 EST 2008


Bitvector::Bit::operator= has returned a "Bit &" reference since June 24.

Eddie


Bart Braem wrote:
> Hello,
> 
> Bitvector currently has a strange operator= as it returns the bool b  
> instead of *this on line 154.
> This should probably be fixed to allow chaining of assignments.
> 
> Regards,
> Bart Braem


More information about the click mailing list