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 at Carter.net
ccarter at uiuc.edu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the llvm-bugs