Why does the [] operator in vector behave as it does?

Luke Dickens lwd03@doc.ic.ac.uk
Wed Apr 30 17:43:00 GMT 2008


Thank you elJay .
I remember using the assignment operator but had forgotten why. My code 
is a bit rusty.

Thank you Ted.
I was going to look at smart pointers when I did a code clean-up. I have 
the boost libraries, but don't want to introduce too much new code all 
at once. Are they fairly easy to incorporate into existing code, or is 
this too pervasive a coding paradigm requiring an entire rework.



More information about the Gcc-help mailing list