[LLVMbugs] BitSetVector::iterator

Casey Carter ccarter at cs.uiuc.edu
Sat Nov 23 08:19:45 PST 2002

BitSetVector::iterator uses a BitSetVector& to track the BSV into which 
it is pointing: this is all fine and dandy, except that its operator= 
assigns the reference member.  If you want to be able to change it, use 
a pointer instead.

One of the BitSetVector::iterator constructors takes a BitSetVector by 
value instead of reference, and holds a reference to the argument.

Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20021123/172411fe/attachment.ksh>

More information about the llvm-bugs mailing list